ladybird/Userland/Games
Martin Frederic 3e6c083754 Pong: Explicitly clear held keys in Game::reset()
The paddle's movement is determined by the currently held keys. A key
is no longer considered held when a matching keyup_event() fires.
However, the event does not fire when the timer has stopped (e.g. due to
a game over condition), which can result in the paddle keeping its
former direction and moving on its own -- even after the player started
a new game. Therefore, any held keys will be cleared explicitly.
2022-04-15 00:13:09 +02:00
..
2048 LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
Breakout LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
Chess LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
FlappyBug LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
GameOfLife Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Hearts LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
MasterWord LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
Minesweeper Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Pong Pong: Explicitly clear held keys in Game::reset() 2022-04-15 00:13:09 +02:00
Snake LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
Solitaire Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Spider LibCards+Games: Change name of card type to card suit 2022-03-18 23:49:34 +00:00
CMakeLists.txt Games: Add MasterWord 2022-03-18 04:55:21 -07:00