Update 'a3/game.c'
This commit is contained in:
parent
193a2e7e05
commit
2328d265c2
@ -146,10 +146,7 @@ void update_game(struct game_state *game, char input){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for (i = 0; i < COLS; i++) set_color_cell('-', i, 0, 0, (rand() % 7) + 1);
|
|
||||||
for (i = 0; i < LINES; i++) set_color_cell('-', 0, i, 0, (rand() % 7) + 1);
|
|
||||||
for (i = 0; i < COLS; i++) set_color_cell('-', i, LINES - 1, 0, (rand() % 7) + 1);
|
|
||||||
for (i = 0; i < LINES; i++) set_color_cell('-', COLS - 1, i, 0, (rand() % 7) + 1);
|
|
||||||
|
|
||||||
set_message( state->message,1,0);
|
set_message( state->message,1,0);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user