Bzzdex
← Make an app

Whack a mole

Something pops up, you tap it before it hides again · Game ●●

Change these if you like

Prompt

Make a whack-a-mole game. Make it a single HTML file that opens in a browser with nothing to install and no other files. Put the CSS and JavaScript inside it. Do not use image files or any external address; use emoji or letters if you need a symbol.

Draw a grid of nine holes. a mole appears in a random hole and hides again after a short time. I tap it to score. A game lasts 30 seconds.

Speed it up as the game goes on: start with about one second visible and get down to about half a second by the end.

Do not let the same hole be used twice in a row, and do not score a tap on an empty hole.

Show the score while playing, and the final score with a play-again button when time is up.

When you are done, tap an empty hole on purpose and check it does not score.

What it uses: One file only · Say what it is first · Decide what shows · Pin down what not to do

If it stays too easy, ask it to "shorten the visible time as the score goes up".


Paste what came back

Also save the prompt you used (optional)

Paste what you typed into the AI. You decide later whether anyone else sees it.

0

You might also like