2005-04-16 17:47:59 +02:00
|
|
|
# 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.
|
|
|
|
|
2006-01-01 20:25:10 +01:00
|
|
|
################
|
2005-04-16 17:47:59 +02:00
|
|
|
# Training mode
|
2006-01-01 20:25:10 +01:00
|
|
|
################
|
2005-04-16 17:47:59 +02:00
|
|
|
|
|
|
|
# Check various words in the dictionary
|
2012-10-06 01:40:18 +02:00
|
|
|
training/dict 0 # randseed unused
|
2005-04-16 17:47:59 +02:00
|
|
|
# Display the tiles remaining in the bag
|
2012-10-06 01:40:18 +02:00
|
|
|
training/bag 0 # randseed unused
|
2005-04-16 17:47:59 +02:00
|
|
|
# Enter a rack, then display all the possibilities
|
2012-10-06 01:40:18 +02:00
|
|
|
training/search 0 # randseed unused
|
2008-01-08 14:52:32 +01:00
|
|
|
# Display the benjamins for several words
|
2012-10-06 01:40:18 +02:00
|
|
|
training/benj 0 # randseed unused
|
2008-01-08 14:52:32 +01:00
|
|
|
# Display the "raccords" for several words
|
2012-10-06 01:40:18 +02:00
|
|
|
training/racc 0 # randseed unused
|
2008-01-08 14:52:32 +01:00
|
|
|
# Test the 7 + 1 feature
|
2012-10-06 01:40:18 +02:00
|
|
|
training/7pl1 0 # randseed unused
|
2005-04-16 17:47:59 +02:00
|
|
|
# Several ways of getting a rack and playing a word
|
2012-10-06 01:40:18 +02:00
|
|
|
training/play 0 # randseed unused
|
2006-11-05 14:34:27 +01:00
|
|
|
# Joker problem on game search
|
2012-10-06 01:40:18 +02:00
|
|
|
training/rosace 0
|
2009-01-24 11:28:20 +01:00
|
|
|
# Navigation in the game history
|
2012-10-06 01:40:18 +02:00
|
|
|
training/navigation 0
|
2009-02-21 17:56:32 +01:00
|
|
|
# Joker game
|
2012-10-06 01:40:18 +02:00
|
|
|
training/joker_variant 12
|
2009-02-21 17:56:32 +01:00
|
|
|
# Explosive game
|
2012-10-06 01:40:18 +02:00
|
|
|
training/explosive_variant 13
|
2011-08-28 15:29:11 +02:00
|
|
|
# 7 among 8 game
|
2012-10-06 01:40:18 +02:00
|
|
|
training/7among8_variant 18
|
2012-04-12 23:44:58 +02:00
|
|
|
# Save games handling
|
2012-10-06 01:40:18 +02:00
|
|
|
training/load_save 0 # randseed unused
|
2006-11-05 14:34:27 +01:00
|
|
|
|
2008-01-08 14:52:32 +01:00
|
|
|
# Board cross off by one score
|
2012-10-06 01:40:18 +02:00
|
|
|
training/cross 0
|
2008-01-08 14:52:32 +01:00
|
|
|
# Board cross backward setAny
|
2012-10-06 01:40:18 +02:00
|
|
|
training/cross2 0
|
2008-01-08 14:52:32 +01:00
|
|
|
# Board cross backward joker
|
2012-10-06 01:40:18 +02:00
|
|
|
training/cross3 0
|
2008-10-15 21:43:23 +02:00
|
|
|
# Search with best word having a joker on the cross-set
|
2012-10-06 01:40:18 +02:00
|
|
|
training/cross4 0
|
2006-11-05 14:34:27 +01:00
|
|
|
|
2006-01-01 20:25:10 +01:00
|
|
|
#################
|
2005-04-16 17:47:59 +02:00
|
|
|
# Duplicate mode
|
2006-01-01 20:25:10 +01:00
|
|
|
#################
|
2005-04-16 17:47:59 +02:00
|
|
|
|
|
|
|
# 2 AI players
|
2012-10-06 01:40:18 +02:00
|
|
|
duplicate/2_ai 5
|
2008-01-08 14:52:32 +01:00
|
|
|
# 2 human players, one IA, with manual change of human player
|
2012-10-06 01:40:18 +02:00
|
|
|
duplicate/humans_ai 6
|
2008-11-23 19:18:02 +01:00
|
|
|
# Only one player
|
2012-10-06 01:40:18 +02:00
|
|
|
duplicate/1_player 8
|
2008-11-23 19:18:02 +01:00
|
|
|
# One complete turn without a valid move
|
2012-10-06 01:40:18 +02:00
|
|
|
duplicate/invalid_turn 9
|
2008-11-23 19:56:49 +01:00
|
|
|
# Turn where the only valid move has 0 point
|
2012-10-06 01:40:18 +02:00
|
|
|
duplicate/no_point 68 # For 2 jokers in the rack
|
2009-01-24 11:28:20 +01:00
|
|
|
# Navigation in the game history
|
2012-10-06 01:40:18 +02:00
|
|
|
duplicate/navigation 11
|
2009-02-21 17:56:32 +01:00
|
|
|
# Joker game
|
2012-10-06 01:40:18 +02:00
|
|
|
duplicate/joker_variant 14
|
2009-02-21 17:56:32 +01:00
|
|
|
# Explosive game
|
2012-10-06 01:40:18 +02:00
|
|
|
duplicate/explosive_variant 15
|
2011-08-28 15:29:11 +02:00
|
|
|
# 7 among 8 game
|
2012-10-06 01:40:18 +02:00
|
|
|
duplicate/7among8_variant 19
|
2012-04-12 23:44:58 +02:00
|
|
|
# Save games handling
|
2012-10-06 01:40:18 +02:00
|
|
|
duplicate/load_save 22
|
2012-04-12 23:44:58 +02:00
|
|
|
|
|
|
|
#################
|
|
|
|
# Arbitration mode
|
|
|
|
#################
|
|
|
|
|
|
|
|
# Save games handling
|
2012-10-06 01:40:18 +02:00
|
|
|
arbitration/load_save 0 # randseed unused
|
2005-04-16 17:47:59 +02:00
|
|
|
|
2006-01-01 20:25:10 +01:00
|
|
|
#################
|
2005-04-16 17:47:59 +02:00
|
|
|
# Free game mode
|
2006-01-01 20:25:10 +01:00
|
|
|
#################
|
2005-04-16 17:47:59 +02:00
|
|
|
|
2008-09-13 23:32:45 +02:00
|
|
|
# 1 human plays and/or passes
|
2012-10-06 01:40:18 +02:00
|
|
|
freegame/play 7
|
2005-04-16 17:47:59 +02:00
|
|
|
# The human player always passes, letting the AI player do what it wants
|
2012-10-06 01:40:18 +02:00
|
|
|
freegame/passing 1
|
2015-02-24 23:28:31 +01:00
|
|
|
# Two humans play, and reach the end of the game by passing 3 times consecutively
|
|
|
|
freegame/passing_3_times 24
|
2005-04-16 17:47:59 +02:00
|
|
|
# 2 human players, changing letters a lot
|
2012-10-06 01:40:18 +02:00
|
|
|
freegame/change 3
|
2005-04-16 17:47:59 +02:00
|
|
|
# Three AI players
|
2012-10-06 01:40:18 +02:00
|
|
|
freegame/3_ai 2
|
2009-01-24 11:28:20 +01:00
|
|
|
# Navigation in the game history
|
2012-10-06 01:40:18 +02:00
|
|
|
freegame/navigation 10
|
2009-02-21 17:56:32 +01:00
|
|
|
# Joker game
|
2012-10-06 01:40:18 +02:00
|
|
|
freegame/joker_variant 16
|
2009-02-21 17:56:32 +01:00
|
|
|
# Explosive game
|
2012-10-06 01:40:18 +02:00
|
|
|
freegame/explosive_variant 17
|
2011-08-28 15:29:11 +02:00
|
|
|
# 7 among 8 game
|
2012-10-06 01:40:18 +02:00
|
|
|
freegame/7among8_variant 20
|
2012-04-12 23:44:58 +02:00
|
|
|
# Save games handling
|
2012-10-06 01:40:18 +02:00
|
|
|
freegame/load_save 23
|
2005-04-16 17:47:59 +02:00
|
|
|
|
2006-01-01 20:25:10 +01:00
|
|
|
##############
|
2008-01-08 14:52:32 +01:00
|
|
|
# Load / Save
|
2006-01-01 20:25:10 +01:00
|
|
|
##############
|
|
|
|
|
2011-08-28 17:29:39 +02:00
|
|
|
# save and load a game combining 2 variants
|
2012-10-06 01:40:18 +02:00
|
|
|
various/load_combi_variants 21
|
2006-01-01 20:25:10 +01:00
|
|
|
|
|
|
|
#####################
|
|
|
|
# Regular Expression
|
|
|
|
#####################
|
|
|
|
|
|
|
|
# test some patterns
|
2012-10-06 01:40:18 +02:00
|
|
|
various/regexp 0
|