Files
rdraught/rdraught-gtk
woggioni dc0ad17a95 harden engine rules, position invariants, and undo history
- make Position represent only valid board squares and use checked offsets
- make move endpoints fallible and remove unchecked coordinate arithmetic
- validate moves against generated legal moves, including mandatory capture
- track pending multi-captures and restrict continuation to the same piece
- derive pending state after undo/redo and preserve redo on invalid moves
- fix circular buffer wraparound, mixed iteration, and element drops
- adapt GTK and WASM to fallible endpoints and apply errors
- add rule, promotion, chain, history, and coordinate regression tests
2026-10-19 19:43:05 +00:00
..
2025-07-08 22:32:58 +08:00
2025-07-03 10:37:15 +08:00