A basic React game to demonstrate simple gaming in React apps without implementing a game engine. The game draws inspiration from the popular 70s game called Whac-a-Mole, where players need to pop balloons to score points.
- Three screens: Start screen, Game screen, and Ending screen.
- Balloon shape constructed from scratch using SVG.
- Implementation of basic SVG elements: ellipse, rect, and polygon.
I have intentionally minimized the number of dependencies required for this game, and if necessary, they can be further avoided. The only dependencies utilized in the game are:
- react-transition-group
- classnames
Here's a glimpse of the game in action.
If you want to experience the game live, check out the CodePen demo. Please note that the code structure and its fidelity to the original source may not be entirely matched in the demo version.