DEV Community

james
james

Posted on

FlagFeed: Whack-a-mole game with devcycle flags

This is a submission for the DevCycle Feature Flag Challenge: Feature Flag Funhouse

Project overview

I built a whack-a-mole, where you press the start button (bottom-right corner ) and a
random div will light that you have to click every 1 second.

Demo
https://whack-a-mole-8917e.firebaseapp.com

My Code
https://github.com/Jamcha123/whack-a-mole

My DevCycle Experience
I used three variables: start-game (boolean), counter (number) and random (number)

start-game changes to true when you click it and starts the game

counter keeps track of your score

random randomly chooses a div to "light up"

I have learnt a lot about devcycle its a cool libary or software.

Devcycle screenshoot

Prizes

I don't know

Cover Photo

Top comments (0)