more work on game logic, almost there. still some kinks