private void RunGameLoop() { while (true) { DrawFrame(); HandlePlayerInput(); string elementAtPlayerPos = MyWorld.GetElementAt(CurrentPlayer.X, CurrentPlayer.Y); if (elementAtPlayerPos == "X") { break; } System.Threading.Thread.Sleep(20); } DisplayOutro(); }