2048: Reset score on startup
PATCH 1/1 2048: Reset score on startup
Signed-off-by Alexander Shiyan <[email protected]>
--- commands/2048.c | 2 ++ 1 file changed, 2 insertions(+)
commands/2048.c +2 -0
@@ -337,6 +337,8 @@ static int do_2048(int argc, char *argv[])return test (); } + score =0 ; +printf ("\033[?25l\033[2J\033[H" );memset (board,0 ,sizeof (board));
Signature · 7 lines
1.8.5.5 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 4 lines · Alexander Shiyan
Signed-off-by Alexander Shiyan <[email protected]>--- commands/2048.c | 2 ++ 1 file changed, 2 insertions(+)
Applied, thanks. I'm considering a stable release for this ;)
Sascha
Quoted 23 lines
commands/2048.c +2
-0@@ -337,6 +337,8 @@ static int do_2048(int argc, char *argv[])return test (); } + score =0 ; +printf ("\033[?25l\033[2J\033[H" );memset (board,0 ,sizeof (board));Signature · 7 lines
1.8.5.5 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Fri, 6 Jun 2014 06:34:30 +0200 от Sascha Hauer <[email protected]>:
Quoted 7 lines · Alexander Shiyan
Quoted 4 lines
Signed-off-by Alexander Shiyan <[email protected]>--- commands/2048.c | 2 ++ 1 file changed, 2 insertions(+)Applied, thanks. I'm considering a stable release for this ;)
Please do this only after we add the world table of records and sound support :)
---
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox