Fix errors. Add printing of scores after game so user can actually see what they scored

This commit is contained in:
Tiehuis 2015-02-23 12:41:34 +13:00
parent 2b0f6a159e
commit 40f6419c55
2 changed files with 2 additions and 1 deletions

View File

@ -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;
}

View File

@ -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