Completed the game logic and created a demo page