Click here for free DL of the app version that can save data.
No:42820 71
Prev Next
Back scratching game
Developer User18969|Date and time 24/2/12 23:46:34
Build time 7.2 sec|Game capacity 1.635KB|Script


Sure, I can help you create a simple back scratching game using JavaScript and HTML. Here's an example of how the code might look like:


Back Scratching Game

Back

In this game, there is a button labeled "Scratch" which the player can tap to scratch the back. Each time the button is clicked, the `scratchBack()` function is called. After 10 back scratches, an alert message is displayed to indicate that the game is finished. To display the back image, we use an `<img>` tag with an initial width and height of 200x300 pixels. The `updateBackImage()` function is responsible for updating the back image based on the number of back scratches. You can provide your own pictograms by replacing the `emozi_rabbit.png` and `emozi_apple.png` (N being the number of back scratches) with your own image files. Please make sure to replace the image filenames with your own pictogram files and adjust the image dimensions as per your requirements.

Prev Next   Back  0  0 Menu 

[PR]現在の売れ筋グッズランキング

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

(C)2023 HisashiApp