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
|
|
|
|
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
|
2008-01-08 14:52:32 +01:00
|
|
|
# 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
|
2005-04-16 17:47:59 +02:00
|
|
|
# Several ways of getting a rack and playing a word
|
2008-01-15 15:56:38 +01:00
|
|
|
training_play 0 # randseed unused
|
2006-11-05 14:34:27 +01:00
|
|
|
# Joker problem on game search
|
|
|
|
training_rosace 0
|
2009-01-24 11:28:20 +01:00
|
|
|
# Navigation in the game history
|
|
|
|
training_navigation 0
|
2009-02-21 17:56:32 +01:00
|
|
|
# Joker game
|
|
|
|
training_joker_variant 12
|
|
|
|
# Explosive game
|
|
|
|
training_explosive_variant 13
|
2011-08-28 15:29:11 +02:00
|
|
|
# 7 among 8 game
|
|
|
|
training_7among8_variant 18
|
2006-11-05 14:34:27 +01:00
|
|
|
|
2008-01-08 14:52:32 +01:00
|
|
|
# Board cross off by one score
|
2006-01-01 20:25:10 +01:00
|
|
|
training_cross 0
|
2008-01-08 14:52:32 +01:00
|
|
|
# Board cross backward setAny
|
2006-11-05 14:34:27 +01:00
|
|
|
training_cross2 0
|
2008-01-08 14:52:32 +01:00
|
|
|
# Board cross backward joker
|
|
|
|
training_cross3 0
|
2008-10-15 21:43:23 +02:00
|
|
|
# Search with best word having a joker on the cross-set
|
|
|
|
training_cross4 0
|
2006-11-05 14:34:27 +01:00
|
|
|
|
|
|
|
# Joker problem on game load
|
2006-08-12 00:04:45 +02:00
|
|
|
training_joker 0
|
2005-04-16 17:47:59 +02: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
|
|
|
|
duplicate_2_ai 5
|
2008-01-08 14:52:32 +01:00
|
|
|
# 2 human players, one IA, with manual change of human player
|
|
|
|
duplicate_humans_ai 6
|
2008-11-23 19:18:02 +01:00
|
|
|
# Only one player
|
|
|
|
duplicate_1_player 8
|
|
|
|
# One complete turn without a valid move
|
|
|
|
duplicate_invalid_turn 9
|
2008-11-23 19:56:49 +01:00
|
|
|
# Turn where the only valid move has 0 point
|
|
|
|
duplicate_no_point 68 # For 2 jokers in the rack
|
2009-01-24 11:28:20 +01:00
|
|
|
# Navigation in the game history
|
|
|
|
duplicate_navigation 11
|
2009-02-21 17:56:32 +01:00
|
|
|
# Joker game
|
|
|
|
duplicate_joker_variant 14
|
|
|
|
# Explosive game
|
|
|
|
duplicate_explosive_variant 15
|
2011-08-28 15:29:11 +02:00
|
|
|
# 7 among 8 game
|
|
|
|
duplicate_7among8_variant 19
|
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
|
|
|
|
freegame_play 7
|
2005-04-16 17:47:59 +02:00
|
|
|
# The human player always passes, letting the AI player do what it wants
|
|
|
|
freegame_passing 1
|
|
|
|
# 2 human players, changing letters a lot
|
|
|
|
freegame_change 3
|
|
|
|
# Three AI players
|
|
|
|
freegame_3_ai 2
|
2009-01-24 11:28:20 +01:00
|
|
|
# Navigation in the game history
|
|
|
|
freegame_navigation 10
|
2009-02-21 17:56:32 +01:00
|
|
|
# Joker game
|
|
|
|
freegame_joker_variant 16
|
|
|
|
# Explosive game
|
|
|
|
freegame_explosive_variant 17
|
2011-08-28 15:29:11 +02:00
|
|
|
# 7 among 8 game
|
|
|
|
freegame_7among8_variant 20
|
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
|
|
|
##############
|
|
|
|
|
|
|
|
# load a standard training game (fumee)
|
2005-12-27 10:13:48 +01:00
|
|
|
load_game 0
|
2006-01-01 20:25:10 +01:00
|
|
|
# save and reload a training game, standard format
|
2008-01-15 15:56:38 +01:00
|
|
|
load_saved_game 0 # randseed unused
|
2006-01-01 20:25:10 +01:00
|
|
|
# load a training game with advanced format (test.elt)
|
2009-02-21 17:56:32 +01:00
|
|
|
# load_test_adv 0 # We need to specify a much more complete file format
|
2006-01-01 20:25:10 +01:00
|
|
|
# before we can handle load/save on duplicate and
|
2009-02-21 17:56:32 +01:00
|
|
|
# freegame games
|
2006-01-01 20:25:10 +01:00
|
|
|
|
|
|
|
#####################
|
|
|
|
# Regular Expression
|
|
|
|
#####################
|
|
|
|
|
|
|
|
# test some patterns
|
|
|
|
regexp 0
|