Mohsan Ali
d609dde7b0
2048: Let user decide if he wants to continue the game
...
Before game finish when a player has reached target tile,
Now player will be able to decide if he wants to continue or not
2021-10-05 13:27:57 +03:30
Dmitrii Ubskii
242742b6c2
2048: Animate sliding tiles
2021-06-11 22:45:14 +02:00
Dmitrii Ubskii
8a8c2572b1
2048: Encapsulate away Board's inner workings
...
This change brings all the board twiddling code into the Board proper to
enable sliding animations further down the line.
2021-06-11 22:45:14 +02:00
Dmitrii Ubskii
9ce5ce3560
2048: Add pop-in animation for newly added tiles
2021-06-11 22:45:14 +02:00
Dmitrii Ubskii
11158c2400
2048: Abstract Board into its own struct
2021-06-11 22:45:14 +02:00
Dmitrii Ubskii
ec8fe6952f
2048: East const all the things
2021-06-11 22:45:14 +02:00
Dmitrii Ubskii
a93d0fe8c2
2048: Evil AI logic: select new tile in the worst position
...
Not very smart: the worst position is defined such that after the
player's next move the fewest tiles remain empty.
2021-05-18 08:51:56 +01:00
Dmitrii Ubskii
3e8220dec2
2048: Refactor tile sliding and score logic out of attempt_move()
2021-05-18 08:51:56 +01:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00
Andreas Kling
aa939c4b4b
Games: Move to Userland/Games/
2021-01-12 12:04:23 +01:00