added some basic game code