eliot/test/driver
Olivier Teulière 7f60f532ad FreeGame: fix an infinite game when all the players keep passing forever.
Now the game ends when all the players passed in the last 3 turns.
2015-02-24 23:28:31 +01:00

122 lines
3.3 KiB
Text

# Each regression scenario must be on one line, with the following syntax:
# scenario_name rand_seed
#
# The rand seed is a number, used to initialize the random numbers generator.
# To each scenario 'scenario' correspond an input file 'scenario.input' and a
# reference file 'scenario.ref'. The regression gives the input file to the
# text interface (along with the rand seed), which generates a 'scenario.run'
# file. This file is then compared to the reference file, and if there is no
# difference the scenario is considered successful.
#
# Everything after a # is ignored.
################
# Training mode
################
# Check various words in the dictionary
training/dict 0 # randseed unused
# Display the tiles remaining in the bag
training/bag 0 # randseed unused
# Enter a rack, then display all the possibilities
training/search 0 # randseed unused
# Display the benjamins for several words
training/benj 0 # randseed unused
# Display the "raccords" for several words
training/racc 0 # randseed unused
# Test the 7 + 1 feature
training/7pl1 0 # randseed unused
# Several ways of getting a rack and playing a word
training/play 0 # randseed unused
# Joker problem on game search
training/rosace 0
# Navigation in the game history
training/navigation 0
# Joker game
training/joker_variant 12
# Explosive game
training/explosive_variant 13
# 7 among 8 game
training/7among8_variant 18
# Save games handling
training/load_save 0 # randseed unused
# Board cross off by one score
training/cross 0
# Board cross backward setAny
training/cross2 0
# Board cross backward joker
training/cross3 0
# Search with best word having a joker on the cross-set
training/cross4 0
#################
# Duplicate mode
#################
# 2 AI players
duplicate/2_ai 5
# 2 human players, one IA, with manual change of human player
duplicate/humans_ai 6
# Only one player
duplicate/1_player 8
# One complete turn without a valid move
duplicate/invalid_turn 9
# Turn where the only valid move has 0 point
duplicate/no_point 68 # For 2 jokers in the rack
# Navigation in the game history
duplicate/navigation 11
# Joker game
duplicate/joker_variant 14
# Explosive game
duplicate/explosive_variant 15
# 7 among 8 game
duplicate/7among8_variant 19
# Save games handling
duplicate/load_save 22
#################
# Arbitration mode
#################
# Save games handling
arbitration/load_save 0 # randseed unused
#################
# Free game mode
#################
# 1 human plays and/or passes
freegame/play 7
# The human player always passes, letting the AI player do what it wants
freegame/passing 1
# Two humans play, and reach the end of the game by passing 3 times consecutively
freegame/passing_3_times 24
# 2 human players, changing letters a lot
freegame/change 3
# Three AI players
freegame/3_ai 2
# Navigation in the game history
freegame/navigation 10
# Joker game
freegame/joker_variant 16
# Explosive game
freegame/explosive_variant 17
# 7 among 8 game
freegame/7among8_variant 20
# Save games handling
freegame/load_save 23
##############
# Load / Save
##############
# save and load a game combining 2 variants
various/load_combi_variants 21
#####################
# Regular Expression
#####################
# test some patterns
various/regexp 0