diff --git a/.gitignore b/.gitignore
index e660fd93d3196215552065b1e63bf6a2f393ed86..f098703f25f3c63f41e25bbeb7271929a0b97491 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 bin/
+__pycache__/
diff --git a/src/game/penguin.cpp b/src/game/penguin.cpp
index ccd9f05eb4cbdc2e2fdefcda5620e0c8e1b66aa6..6acc76d52d787d86e88544ad6910c4c1d55a3897 100644
--- a/src/game/penguin.cpp
+++ b/src/game/penguin.cpp
@@ -91,8 +91,7 @@ namespace game
 	/* Number of moves that you can play */
 	uint16_t penguin::number_of_moves() const
 	{
-		//return 9 - state.total_moves;
-		return 0;
+		return state.current_player_red ? state.nb_moves_red : state.nb_moves_blue;
 	}
 
 	/* The penguin that will move if we want to play the #move_number move in the list of possible moves.