Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tarot
tarot
Commits
63060901
Commit
63060901
authored
Dec 19, 2019
by
Vivien Kraus
Browse files
Only consider the score for pushing when computing the strongest
player The AI is not trained to take, or keep.
parent
27e0500c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libtarot/ai/tarot/ai_private_impl.h
View file @
63060901
...
...
@@ -287,7 +287,7 @@ ai_strongest_player_try_bid (TarotAi * ai, const TarotGame * game)
{
/* Return the maximum predicted score for taking */
static
TarotBid
candidate_bids
[]
=
{
TAROT_
TAKE
,
TAROT_PUSH
,
TAROT_STRAIGHT_KEEP
,
TAROT_DOUBLE_KEEP
TAROT_
PUSH
};
static
const
size_t
n_candidates
=
sizeof
(
candidate_bids
)
/
sizeof
(
candidate_bids
[
0
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment