Brendan Coles
9f8a8e07c2
Games: Use pledge and unveil
2020-11-02 13:16:01 +01:00
Brendan Coles
7c5e488de2
Games: Use GUI::Icon::default_icon to set application icon
2020-11-01 10:29:27 +01:00
Brendan Coles
e569f7fd1c
Applications: Use application icons for dialog windows
2020-10-31 13:48:15 +01:00
Linus Groh
82956a08b3
LibCore: Rename File::ShouldCloseFile{Description => Descriptor}
...
From https://youtu.be/YNSAZIW3EM0?t=1474 :
"Hmm... I don't think that name is right! From the perspective of
userspace, this is a file descriptor. File description is what the
kernel internally keeps track of, but as far as userspace is concerned,
he just has a file descriptor. [...] Maybe that name should be changed."
Core::File even has a member of this enum type... called
m_should_close_file_descriptor - so let's just rename it :^)
2020-10-25 13:59:41 +01:00
Linus Groh
bcfc6f0c57
Everywhere: Fix more typos
2020-10-03 12:36:49 +02:00
Peter Elliott
274be68102
Chess: Allow resizing Chess using resize_aspect_ratio(1,1)
2020-08-23 01:05:22 +02:00
Peter Elliott
b0ffd4e946
Chess: Optionaly display coordinates at edge of board
2020-08-23 01:05:22 +02:00
Peter Elliott
1e57e32a93
ChessEngine: Add ChessEngine
...
This engine is pretty bad, but doesn't let itself get checkmated
2020-08-21 12:26:30 +02:00
Peter Elliott
fb62eed058
Chess: Add support for UCI engines
2020-08-21 12:26:30 +02:00
Peter Elliott
d2cb5e0f48
Chess: Refactor game logic into LibChess for use in engines
...
In the future UCI protocol stuff will also go into LibChess.
2020-08-21 12:26:30 +02:00
Peter Elliott
ffece9cfba
Chess: Add serialization of moves and squares
2020-08-21 12:26:30 +02:00
Peter Elliott
6c2d0dea91
Chess: Fix generation of promotion moves
2020-08-21 12:26:30 +02:00
Tibor Nagy
e3d1ea34ff
Games: Add missing separators to the application menus
2020-08-17 17:39:56 +02:00
Abu Sakib
1ec0f54de1
Chess: Add Help menuitem
2020-08-17 12:12:19 +02:00
Brian Gianforcaro
eed9f2bac3
Chess: Uninitialized member in PromotionalDialog, found by Coverity
2020-08-17 09:17:57 +02:00
Peter Elliott
d90f8abe9d
Chess: Add new ways to draw.
...
new ways:
Insufficent material
Threefold/Fivefold repitition
50 move/75 move rule
2020-08-15 20:54:02 +02:00
Peter Elliott
abd1f7e563
Chess: Add pawn promotion to any piece
2020-08-15 20:54:02 +02:00
Peter Elliott
9d40472721
Chess: Add En-passant
2020-08-15 20:54:02 +02:00
Peter Elliott
e91542a3cf
Chess: Add menu options for setting board theme and piece set
2020-08-15 20:54:02 +02:00
Peter Elliott
7b71f4759f
Chess: Highlight last move
2020-08-15 20:54:02 +02:00
Peter Elliott
f2c1782d86
Chess: Add win/draw conditions, and display them.
2020-08-15 20:54:02 +02:00
Peter Elliott
e05372cee2
Chess: Add legal move checking
2020-08-15 20:54:02 +02:00
Peter Elliott
7333916252
Chess: Add basic ChessWidget and ugly piece set
2020-08-15 20:54:02 +02:00