Added game logic framework.