Commit 7cbc2386 authored by Nelson Phillips's avatar Nelson Phillips
Browse files

autosave

parent 09952e3e
...@@ -12,7 +12,6 @@ class Snake { ...@@ -12,7 +12,6 @@ class Snake {
int snekoScore(); int snekoScore();
void clrScreen(); void clrScreen();
char input; char input;
bool direction(char input);
private: private:
int x = 0, y = 0, i = 0, q = 0, score = 0, int x = 0, y = 0, i = 0, q = 0, score = 0,
......
...@@ -15,6 +15,7 @@ void charCall() { ...@@ -15,6 +15,7 @@ void charCall() {
BrdSet.input = inputRead.collectInput(); BrdSet.input = inputRead.collectInput();
if (BrdSet.input == 'q' || BrdSet.input == 'Q') if (BrdSet.input == 'q' || BrdSet.input == 'Q')
break; break;
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment