Added game's core functionality.