summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/snake.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c
index 7a302178e4..e99cb1c952 100644
--- a/apps/plugins/snake.c
+++ b/apps/plugins/snake.c
@@ -238,13 +238,14 @@ void game_init(void) {
238 238
239 239
240 rb->lcd_clear_display(); 240 rb->lcd_clear_display();
241 rb->lcd_setfont(FONT_SYSFIXED);
241 rb->snprintf(plevel,sizeof(plevel),"Level - %d",level); 242 rb->snprintf(plevel,sizeof(plevel),"Level - %d",level);
242 rb->snprintf(phscore,sizeof(phscore),"High Score: %d",hiscore); 243 rb->snprintf(phscore,sizeof(phscore),"High Score: %d",hiscore);
243 rb->lcd_putsxy(3,2, plevel); 244 rb->lcd_puts(0,0, plevel);
244 rb->lcd_putsxy(3,12, "(1 - slow, 9 - fast)"); 245 rb->lcd_puts(0,1, "(1-slow, 9-fast)");
245 rb->lcd_putsxy(3,22, "[Off] to quit"); 246 rb->lcd_puts(0,2, "OFF - quit");
246 rb->lcd_putsxy(3,32, "[Play] to start/pause"); 247 rb->lcd_puts(0,3, "PLAY - start/pause");
247 rb->lcd_putsxy(3,42, phscore); 248 rb->lcd_puts(0,4, phscore);
248 rb->lcd_update(); 249 rb->lcd_update();
249 250
250 while (1) { 251 while (1) {
@@ -268,7 +269,7 @@ void game_init(void) {
268 break; 269 break;
269 } 270 }
270 rb->snprintf(plevel,sizeof(plevel),"Level - %d",level); 271 rb->snprintf(plevel,sizeof(plevel),"Level - %d",level);
271 rb->lcd_putsxy(3,2, plevel); 272 rb->lcd_puts(0,0, plevel);
272 rb->lcd_update(); 273 rb->lcd_update();
273 } 274 }
274 275