Commit 6bc04d2c authored by Nelson Phillips's avatar Nelson Phillips
Browse files

autosave

parent 70fd476a
...@@ -11,7 +11,8 @@ int x = 0; ...@@ -11,7 +11,8 @@ int x = 0;
int y = 0; int y = 0;
int score = 0; int score = 0;
int randChar = (rand() % 5);
int bodyChar;
int h = (rand() % 14); int h = (rand() % 14);
int o = (rand() % 30); int o = (rand() % 30);
char letter = ' '; char letter = ' ';
...@@ -59,7 +60,7 @@ Thread Sneko; ...@@ -59,7 +60,7 @@ Thread Sneko;
if (h == i || o == q) if (h == i || o == q)
grid[h][o] = '*'; grid[h][o] = '*';
if (i == x && q == y) if (i == x && q == y)
grid[x][y] = 'H'; grid[x][y] = 'S';
else if (i != h || o != q) else if (i != h || o != q)
......
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