summaryrefslogtreecommitdiff
path: root/Games/Snake/SnakeGame.cpp
AgeCommit message (Collapse)Author
2020-02-14LibGUI: Remove some header dependencies from Widget.hAndreas Kling
2020-02-06LibGUI: Remove leading G from filenamesAndreas Kling
2020-02-06LibGfx: Unpublish Gfx::Size from the global namespaceAndreas Kling
2020-02-06LibGfx: Unpublish Gfx::Rect from global namespaceAndreas Kling
2020-02-06LibGfx: Rename GraphicsBitmap.{cpp,h} => Bitmap.{cpp,h}Andreas Kling
2020-02-06LibGfx: Rename from LibDraw :^)Andreas Kling
2020-02-06LibDraw: Put all classes in the Gfx namespaceAndreas Kling
I started adding things to a Draw namespace, but it somehow felt really wrong seeing Draw::Rect and Draw::Bitmap, etc. So instead, let's rename the library to LibGfx. :^)
2020-02-02LibGUI: Put all classes in the GUI namespace and remove the leading GAndreas Kling
This took me a moment. Welcome to the new world of GUI::Widget! :^)
2020-02-02LibCore: Put all classes in the Core namespace and remove the leading CAndreas Kling
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-07-18LibDraw: Introduce (formerly known as SharedGraphics.)Andreas Kling
Instead of LibGUI and WindowServer building their own copies of the drawing and graphics code, let's it in a separate LibDraw library. This avoids building the code twice, and will encourage better separation of concerns. :^)
2019-06-27Snake: Use NonnullRefPtrVector.Andreas Kling
2019-06-07Games: Run clang-format on everything.Andreas Kling
2019-04-20Snake: Show the highest score achieved so far (in this session.)Andreas Kling
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-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