A VR whack-a-mole game.
A simple virtual-reality whack-a-mole game created using AFrame. It uses a cursor for interaction and does not require controllers.
You can try out the game by following this link
- Clone the repo
git clone https://github.com/acodedoer/aframe-whack-a-mole.git
- Configure the game You can set the duration of the game using the string gameDuration property of the control component (a "short" game lasts 30 seconds, while "long" game lasts 45 seconds). You can also adjust the game difficulty using the boolean popMultiple property of the control component (true displays multiple moles at a time while false displays a single mole at a time)