summaryrefslogtreecommitdiff
path: root/src/Controllers
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-02 11:06:54 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-02 11:06:54 +0200
commit6b8a144bd192de206e11a171841ec6161d11b6aa (patch)
tree0e0d17f8571750233c4b3008b45e2284d2b03f15 /src/Controllers
parent01b25accba1a5329e220aa647255d2c2b284c16e (diff)
Correct bugs
Diffstat (limited to 'src/Controllers')
-rw-r--r--src/Controllers/ConsoleController/ConsoleController.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Controllers/ConsoleController/ConsoleController.cpp b/src/Controllers/ConsoleController/ConsoleController.cpp
index 4be0375..4ee4965 100644
--- a/src/Controllers/ConsoleController/ConsoleController.cpp
+++ b/src/Controllers/ConsoleController/ConsoleController.cpp
@@ -24,8 +24,9 @@ void ConsoleController::play()
m_game->showGrid();
//Start game
- while (!m_game->isOver())
+ while (1)
{
+ std::cout << m_game->isOver();
//Get key press
keyPress=this->waitArrowKeyPress();