Skip to content

Commit 8a4ab62

Browse files
authored
Update snakeGame.cpp
1 parent fbf4b1c commit 8a4ab62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

snakeGame.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ enum eDirection
1414
RIGHT,
1515
UP,
1616
DOWN
17-
}; // idk
17+
}; // idk
1818
eDirection dir; // idk
1919

2020
void Setup()
@@ -47,8 +47,8 @@ void Draw()
4747
else if (i == fruitY && j == fruitX)
4848
cout << "F";
4949

50-
else{ //drawing of snake tail/body
51-
bool print = false; //
50+
else{ //drawing of snake tail/body
51+
mbool print = false; //
5252
for(int k = 0; k < nTail; k++){ //
5353
if(tailX[k] == j && tailY[k] == i){ //
5454
cout<<"o"; //

0 commit comments

Comments
 (0)