Rest of the work

Rest of the workings of the game