Simple Snake implementation for Design Pattern Course
Game is controlled by arrows and your goal is to eat as many apples as you can without crashing into wall or your body.
Design patterns usage:
Singleton pattern:
- score class
- grid class
- main window class
- keyboard handler class
Strategy pattern:
- speed of the snake
Command pattern:
- restart of the game
State pattern:
- snake's movement
MVC pattern:
- whole game composition
Authors: Jan Jendrusak Simon Urbanek Lukasz Sienko Niccolo' Picca Amitabh Yadav