My first attempt at coding up a game