- SFML 2.0 (
sudo apt-get install libsfml-dev
)
- Refactor to use namespaces for each state
- Line dividing player areas
- Convert #define directives to constant variables
- Move play state initalization/processing to states.cpp
- Generalize Makefile
- Restart game after each point
- Wrap state machine in class
- Wrap ball/score in class
- Display score on play screen
- Pause for 2 seconds after each point
- Stop right paddle from leaving play area
- Fix bug with ball not bouncing off left end of top wall (due to bug in paddle collision)
- Game over screen with win/loss (first to 5 points wins)
- Splash screen
- Sound effects on game start, ball bounce, point, and win/loss
- Set constant framerate for all monitors
-
Implement edge-based collision detection(not necessary) -
Make ball and AI paddle get faster over time(makes gameplay too hard)