tested the simple game loop
added turn control