First fully functional version of the game