Added simple color support for ncurses ver. Supposedly the game starts at 2 usually; lets change that

This commit is contained in:
Tiehuis
2014-03-15 09:45:55 +13:00
parent 014bf8b751
commit 90df5c62a4
3 changed files with 44 additions and 17 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ void rand_block()
if (space_left()) {
int x_p, y_p;
while (g[x_p = rand() % SZ][y_p = rand() % SZ]);
g[x_p][y_p] = 1;
g[x_p][y_p] = 2;
}
else {
printf("\n"