added game logic files