main game loop is ready for testing.