[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] eliot/test driver duplicate_no_point.input dupl...
From: |
Olivier Teulière |
Subject: |
[Eliot-dev] eliot/test driver duplicate_no_point.input dupl... |
Date: |
Sun, 23 Nov 2008 18:56:50 +0000 |
CVSROOT: /cvsroot/eliot
Module name: eliot
Changes by: Olivier Teulière <ipkiss> 08/11/23 18:56:50
Modified files:
test : driver
Added files:
test : duplicate_no_point.input duplicate_no_point.ref
Log message:
New test for a duplicate game where the only valid move in one turn
scores 0 point
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/test/driver?cvsroot=eliot&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/eliot/test/duplicate_no_point.input?cvsroot=eliot&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/eliot/test/duplicate_no_point.ref?cvsroot=eliot&rev=1.1
Patches:
Index: driver
===================================================================
RCS file: /cvsroot/eliot/eliot/test/driver,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- driver 23 Nov 2008 18:18:04 -0000 1.11
+++ driver 23 Nov 2008 18:56:49 -0000 1.12
@@ -61,6 +61,8 @@
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
#################
# Free game mode
Index: duplicate_no_point.input
===================================================================
RCS file: duplicate_no_point.input
diff -N duplicate_no_point.input
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ duplicate_no_point.input 23 Nov 2008 18:56:49 -0000 1.1
@@ -0,0 +1,13 @@
+s b duplicate/reject-invalid 0
+d 2 0
+a t
+j XXX a1
+j ay h8
+a T
+a S
+a p
+a g
+a l
+q
+q
+
Index: duplicate_no_point.ref
===================================================================
RCS file: duplicate_no_point.ref
diff -N duplicate_no_point.ref
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ duplicate_no_point.ref 23 Nov 2008 18:56:50 -0000 1.1
@@ -0,0 +1,54 @@
+Using seed: 68
+[?] pour l'aide
+commande> s b duplicate/reject-invalid 0
+commande> d 2 0
+mode duplicate
+[?] pour l'aide
+commande> a t
+ATNE??A
+commande> j XXX a1
+commande> j ay h8
+commande> a T
+Joueur 0: AAENTUL
+Joueur 1: AAENTUL
+commande> a S
+Joueur 0: 0
+Joueur 1: 0
+commande> a p
+Eliot 1.5
+
+Game type: Duplicate
+Player 0: Human
+Player 1: Human
+
+ N | RACK | SOLUTION | REF | PTS | P | BONUS
+ ===|==========|=================|=====|=====|===|======
+ 1 | ATNE??A | ay | H8 | 0 | 1 |
+
+ Total: 0
+
+Rack 0: AAENT+UL
+Rack 1: AAENT+UL
+commande> a g
+ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+ A - - - - - - - - - - - - - - -
+ B - - - - - - - - - - - - - - -
+ C - - - - - - - - - - - - - - -
+ D - - - - - - - - - - - - - - -
+ E - - - - - - - - - - - - - - -
+ F - - - - - - - - - - - - - - -
+ G - - - - - - - - - - - - - - -
+ H - - - - - - - a y - - - - - -
+ I - - - - - - - - - - - - - - -
+ J - - - - - - - - - - - - - - -
+ K - - - - - - - - - - - - - - -
+ L - - - - - - - - - - - - - - -
+ M - - - - - - - - - - - - - - -
+ N - - - - - - - - - - - - - - -
+ O - - - - - - - - - - - - - - -
+commande> a l
+ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ?
+ 9 2 2 3 15 2 2 2 8 1 1 5 3 6 6 2 1 6 6 6 6 2 1 1 1 1 0
+commande> q
+fin du mode duplicate
+commande> q
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Eliot-dev] eliot/test driver duplicate_no_point.input dupl...,
Olivier Teulière <=