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

master
Tiehuis 9 years ago
parent 2b0f6a159e
commit 40f6419c55
  1. 2
      src/main.c
  2. 1
      src/merge.c

@ -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…
Cancel
Save