almost fully implemented simple game