summaryrefslogtreecommitdiff
path: root/Games
AgeCommit message (Collapse)Author
2019-05-11Fix some more victims of the new default layout spacing.Andreas Kling
2019-05-06Minesweeper: Flag unflagged mines on win.Andreas Kling
2019-05-02Minesweeper: Fix lag when changing the field size.Andreas Kling
Use a number of techniques to avoid freezing the UI for too long. - Keep reusing the same widgets for the squares once they've been created. - Temporarily disable widget updates. - Avoid some redundant work on each run of reset().
2019-04-28Minesweeper: Add considering feature, where middle clicking marks with '?'Andreas Kling
This is useful in the harder modes, for trying out different possibilities.
2019-04-26Minesweeper: Implement some feature requests.Andreas Kling
Someone was playing this game and suggested a number of improvements so here we go trying to address them: - Add "chording" support, where you can click a numbered square using both mouse buttons simultaneously to sweep all non-flagged adjacent squares. - Mis-flagged squares are now revealed as such on game over, with a special "bad flag" icon. - The game timer now shows tenths of seconds. It also doesn't start until you click the first square. - Add the three difficulty modes from the classic Windows version.
2019-04-26Games: Use Makefile.common here too.Andreas Kling
2019-04-21Snake+Minesweeper: Exit process when game window is closed.Andreas Kling
2019-04-20Snake: Show the highest score achieved so far (in this session.)Andreas Kling
2019-04-20LibGUI+Minesweeper: Add GWindow::set_resizable().Andreas Kling
2019-04-20Snake: Add a window icon. :^)Andreas Kling
2019-04-20Snake: Disable double-buffering for the game window.Andreas Kling
There's no need to use automatic double-buffering here since we manage the backing store manually.
2019-04-20Snake: Add some more fruit types.Andreas Kling
2019-04-20Snake: Tweak game speed so it's not too easy.Andreas Kling
2019-04-20Snake: Try to only repaint the parts that actually changed between ticks.Andreas Kling
2019-04-20Get rid of SERENITY macro since the compiler already defines __serenity__Andreas Kling
This makes it a bit easier to use AK templates out-of-tree.
2019-04-20Snake: Use a vegetable icon for the fruit.Andreas Kling
2019-04-20Snake: Clear the movement queue on game reset.Andreas Kling
2019-04-20Snake: Use a queue for the movement inputs.Andreas Kling
This makes it a lot less finicky to make rapid moves like staircasing and sudden turns.
2019-04-20Snake: Flesh out a basic snake game :^)Andreas Kling
2019-04-20Snake: Import skeleton of a new snake game.Andreas Kling
2019-04-15Minesweeper: Add little icons to the flags and timer labels.Andreas Kling
2019-04-15Minesweeper: Paint a grid pattern below the mines.Andreas Kling
2019-04-15LibCore: Add a CConfigFile class, a simple INI file parser.Andreas Kling
You open the configuration for an app like so: auto config = CConfigFile::get_for_app("MyApp"); This will then open ~/MyApp.ini and parse it for you. Immediately start using it in Minesweeper to load the field size and mine count from a config file.
2019-04-14Minesweeper: Add flag counter and game timer.Andreas Kling
2019-04-14Minesweeper: Flood fill should include the first numbered found.Andreas Kling
2019-04-13WindowServer+LibGUI: Add ability to set per-window icons.Andreas Kling
The icons are passed around as filesystem paths for now, since the shared memory bitmaps only support 2 sides.
2019-04-13Minesweeper: Make it possible to win the game. :^)Andreas Kling
2019-04-13Minesweeper: Add some menus.Andreas Kling
2019-04-13Minesweeper: Turn the field into a GFrame for that containery look.Andreas Kling
2019-04-13Minesweeper: Fix wrong adjacency numbers on right and bottom edges.Andreas Kling
2019-04-13Minesweeper: More implementation work.Andreas Kling
2019-04-13Minesweeper: Start working on a simple minesweeper game. :^)Andreas Kling