One year in graduate school my supervisor got us Nerf guns for Christmas. Our research lab also had a rarely used over priced Smart Board with a touchscreen hanging on a wall. It didn't take us long to cook up this project. My lab mates and I created an interactive Nerf dart game we called SmartBoard DartBoard.
Implementation is Java with a Swing UI for the games. Players and high scores are tracked locally.
The codebase comes with four different games that extend the AbstractShapeCollection.java class.
Code structure
- NerfUI.java - Contains the main() method for running and drawing the UI.
- ConcentricCircles.java - The base game. Contains concentric circles, each smaller circle has a higher value.
- HarderConcentricCircles.java - Same as the base game but lower point values and a very small 200 point option.
- BouncingCircles.java - Circles of different sizes and point values that bouncing around the screen.
- PulsatingNerfShapeCollection.java - Same as the base game but the circles pulsate in size, going from small to big.