Cockatrice/cockatrice
DawnFire42 3c2e4a3fb2 feat(command-zone): add state machine with tests
Implement CommandZoneState - a pure C++ state machine managing zone
visibility transitions (Hidden, Revealed, Peeking states).

The state machine is intentionally decoupled from Qt graphics:
- Pure logic with no Qt dependencies in the state class
- Testable in isolation without a GUI
- Clear state transition table with StateChangeResult outcomes

Test coverage verifies:
- Initial state is Hidden
- Valid transitions: Hidden->Revealed, Hidden->Peeking, etc.
- Invalid transitions return NoChange
- Peek timeout triggers return to previous state

This establishes the foundation for command zone visibility management
while keeping graphics concerns separate.
2026-02-26 20:13:32 -05:00
..
resources Docs: Use doxygen-awesome-css theme (#6512) 2026-01-24 11:22:43 +01:00
sounds
src feat(command-zone): add state machine with tests 2026-02-26 20:13:32 -05:00
themes
translations Updates for project Cockatrice and language en_US (#6543) 2026-01-25 16:51:03 -05:00
.qdevelop
CMakeLists.txt feat(command-zone): add state machine with tests 2026-02-26 20:13:32 -05:00
cockatrice.desktop
cockatrice.qrc [VDE] Placeholder image for deck view if deck is empty (#6516) 2026-01-14 14:41:54 +01:00
cockatrice.rc
cockatrice_en@source.ts Update translation source strings (#6465) 2026-01-06 19:35:53 +01:00