mirror of
https://codeberg.org/hkzlab/TK2048.git
synced 2025-12-27 07:42:27 +11:00
Update the game logic to take note of high scores
This commit is contained in:
parent
fc11d95fbb
commit
f18b23b08a
4 changed files with 32 additions and 18 deletions
|
|
@ -53,8 +53,8 @@ uint8_t add_random_tile(void) {
|
|||
return 0; // Return 0 if we were not able to place the tile, else we return (offset + 1) to indicate where the tile was placed
|
||||
}
|
||||
|
||||
uint8_t step_game(step_direction dir) {
|
||||
uint8_t done = 0;
|
||||
int8_t step_game(step_direction dir) {
|
||||
int8_t done = 0;
|
||||
uint8_t start_offset;
|
||||
int8_t column_step;
|
||||
int8_t row_step;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue