Open
Conversation
Not involved in gameplay, yet.
If a player loses during a gene pool game, the parents of the offspring are chosen as follows: - If the losing player lost due to checkmate or time forfeiture, the offspring is a clone of the winner. - If the losing player resigned, the offspring is produced from mating the winner and loser.
The value of the Board Score Floor is now in units of pawn value. Previously, it was an arbitrary number based on the internal scores assigned to board positions.
Results are as follows: 1. Checkmate or time forfeit: Offspring is clone of winner and replaces loser. 2. Draw: offspring is product of both players and replaces one by coin flip 3. Resign: offspring is clone of winner or product of both players by coin flip, loser is replaced.
Start with values that won't have half of players resigning on the first move.
1. Call resignation test so it actually runs. 2. Fix test genome syntax. 3. Fix tests so they correspond to Max Under Floor Streak. For point 3, if a player has a max streak of 4, then it will resign on the fifth move that is under the score floor.
In a gene pool, don't allow AIs to not face full consequences of losing to checkmate by resigning just before.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #148