Changeset 76d0981d in mainline for uspace/dist/src/c/demos/tetris/tetris.c
- Timestamp:
- 2018-04-12T12:57:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3bacee1
- Parents:
- 9c514be
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 18:18:43)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 12:57:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/c/demos/tetris/tetris.c
r9c514be r76d0981d 58 58 #include <err.h> 59 59 #include <errno.h> 60 #include <stdbool.h> 60 61 #include <stdio.h> 61 62 #include <stdlib.h> … … 201 202 { 202 203 tetris_menu_draw(*level); 203 while ( 1) {204 while (true) { 204 205 int i = getchar(); 205 206 … … 326 327 scr_msg(key_msg, 1); 327 328 328 while ( 1) {329 while (true) { 329 330 place(curshape, pos, 1); 330 331 scr_update();
Note:
See TracChangeset
for help on using the changeset viewer.