summaryrefslogtreecommitdiff
path: root/Userland/Games
AgeCommit message (Collapse)Author
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
2021-02-18Chess: Allow right click to cancel drag move while dragging a pieceBrendan Coles
2021-02-18Chess: pledge threadBrendan Coles
`thread` is required by the file browse dialog when importing or exporting PGN files.
2021-02-18Conway: Set minumum window size to game columns x rowsLinus Groh
The game renders no cells when the game widget height is < rows or width is < columns, so let's set a minimum window size here.
2021-01-22Conway: Add interactivityBen Wiederhake
2021-01-20Conway: Don't run misleading srand()Ben Wiederhake
The randomness is taken from arc4random() which is independent from srand/rand/rand_r, so there's no need to call srand(). At best, it confuses the reader to think that there would eventually be a call to rand().
2021-01-16Everywhere: Drop "shared_buffer" in most GUI programs, pledge "recvfd"Andreas Kling
Now that WindowServer broadcasts the system theme using an anonymous file, we need clients to pledge "recvfd" so they can receive it. Some programs keep the "shared_buffer" pledge since it's still used for a handful of things.
2021-01-16Everywhere: Convert a handful of String::format() => formatted()Andreas Kling
2021-01-15Demos+Games: Pledge "sendfd" in demos and gamesTheMorc
2021-01-15Everywhere: Pledge "sendfd" in WindowServer client programsAndreas Kling
This is needed for the new way we transfer window backing stores.
2021-01-12Games: Move to Userland/Games/Andreas Kling