1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 16:07:45 +00:00

Hearts: Let the AI continuously play games

When there are no human players (toggled with Shift-F10) the AI will
continuously start new games when the current game has finished.
This commit is contained in:
Gunnar Beutner 2021-05-24 17:27:26 +02:00 committed by Andreas Kling
parent ac1eba2f7c
commit e636ed43eb
2 changed files with 15 additions and 1 deletions

View file

@ -77,6 +77,8 @@ private:
PassingSelectConfirmed,
PassingAccept,
Play,
GameEndedWaiting,
GameEnded,
};
State m_state { State::PassingSelect };