Click here for free DL of the app version that can save data.
No:37397 35
Prev Next
Numbers going up forever in a box
Developer User17064|Date and time 24/1/21 3:18:08
Build time 6.281 sec|Game capacity 1.589KB|Script

Sure! Here's an example of a simple game where numbers keep increasing in a box. The game can be played on a smartphone, and it uses pictograms to represent the numbers:




In this implementation, we have a `<div>` element with the id "number-box". Inside this div, we have an `<img>` element with the id "number-image", which initially displays a pictogram for number 0. There is also a "Increase Number" button. When the button is clicked, the `increaseNumber()` function is called. This function increments the `number` variable and updates the `src` attribute of the `numberImage` element to display the corresponding pictogram for the new number. You will need to replace the image URLs (`emozi_rabbit.png` and `emozi_apple.png`) with the actual URLs pointing to your pictogram images. You can create pictogram images for numbers 0-9 and beyond, if you want the numbers to keep increasing indefinitely. Please adapt the code as per your specific use case and requirements.

Prev Next   Back  0  0 Menu 

[PR]現在のフィギュア売れ筋ランキング

Click here for free DL of the app version that can save data.

(C)2023 HisashiApp