Fix errors. Add printing of scores after game so user can actually see what they scored
This commit is contained in:
parent
2b0f6a159e
commit
40f6419c55
|
@ -60,6 +60,8 @@ get_new_key:;
|
|||
}
|
||||
|
||||
gfx_destroy(s);
|
||||
printf("Highscore: %ld\n", g->score_high);
|
||||
printf(" Score: %ld\n", g->score);
|
||||
gamestate_clear(g);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#define MERGE_GOAL 11
|
||||
|
||||
:a
|
||||
const long merge_values[] = {
|
||||
0, 2, 4, 8, 16, 32, 64, 128, 256, 512,
|
||||
1024, 2048
|
||||
|
|
Loading…
Reference in New Issue
Block a user