You can't directly import this version of the game, since it relies
on numeric gotos that will necessarily be different for each bot.
And you will gain a better understanding of the principles involved
if you "robusticize" the code yourself anyway. The technique is to
add an xnomatch to each seek, prompting "Was that a move? Sorry -
I didn't recognize it. Did you want to stop playing the game?"
(you'll have to change that slightly to avoid the duplicate response
error, of course.) A further seek feeds back to the last game board
using a goto, or xnomatches to leave the game.
noughts and crosses, tic tac toe, tic-tac-toe, tictactoe, tic-tac toe [50,0]
OK, but I have to start. Father Peter hasn't finished the other half of the script yet.
And you'll have to use capital letters - there seems to be a slight problem with lower case raw mode.
+ xnomatch [0]
..........A......B......C..
.....1......................... - please enter your
.....2............x........... - move as a coordinate
.....3......................... - eg: A1, B3, C2
+ B2, 2B, b2, 2b [0]
Goto 558073
+ xnomatch [0]
Sorry, I didn't recognize that move. Did you want to stop playing?
+ xnomatch [0]
OK. If you ever want another game, feel free to ask.
+ no, not * (stop|end|finish) [0]
Goto 558073
+ A1, 1A, a1, 1a [0]
..........A......B......C..
.....1....o................... - you went A1
.....2............x........... - I go C3
.....3....................x..
+ A1, a1, 1A, 1a, B2, 2B, b2, 2b, C3, 3C, c3, 3c [0]
Goto 558087
+ xnomatch [0]
Was that a move? Sorry - I didn't recognize it. Did you want to stop playing the game?
+ xnomatch [0]
OK. But if you ever want another game, feel free to ask.
+ no, not * (stop|end|finish) [0]
Goto 558087
+ B1, 1B, b1, 1b [0]
..........A......B......C..
.....1....o......o.......x.. - you went B1
.....2............x........... - I go C1
.....3....................x..
+ A1, 1A, a1, 1a, B1, 1B, b1, 1b, C1, 1C, c1, 1c, B2, 2B, b2, 2b, C3, C3, 3c, c3 [0]
Goto 558143
+ xnomatch [0]
Sorry, was that a move? I didn't recognize it. Do you want to stop playing this game?
+ xnomatch [0]
That's Fine. But if you ever want another game, you only have to ask.
+ no, not * (stop|end|finish) [0]
Goto 558143
+ A3, 3A, a3, 3a [0]
..........A......B......C..
.....1....o......o.......x.. - you went A3
.....2............x.......x.. - I Win!
.....3....o..............x..
+ C2, 2C, c2, 2c [0]
..........A......B......C..
.....1....o......o.......x.. - you went C2
.....2............x.......o.. - I Win!
.....3....x..............x..
+ A2, 2A, a2, 2a [0]
..........A......B......C..
.....1....o......o.......x.. - you went A2
.....2....o......x.......x.. - I Win!
.....3....................x..
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1....o......o.......x.. - you went B3
.....2............x.......x.. - I Win!
.....3............o......x..
+ C1, 1C, c1, 1c [0]
..........A......B......C..
.....1....o......x.......o.. - you went C1
.....2............x........... - I go B1
.....3....................x..
+ xnomatch [0]
Sorry, I didn't recognize that move. Did you want to stop playing?
+ no, not * (stop|end|finish) [0]
Goto 558164
+ xnomatch [0]
OK. If you ever want another game, feel free to ask.
+ A1, 1A, a1, 1a, B1, 1B, b1, 1b, C1, 1C, c1, 1c, B2, 2B, b2, 2b, C3, C3, 3c, c3 [0]
Goto 558164
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1....o......x.......o.. - you went B3
.....2....x......x........... - I go A2
.....3...........o.......x..
+ xnomatch [0]
Was that a move? I'm afraid I didn't recognize it. Did you want to stop playing?
+ no, not * (stop|end|finish) [0]
Goto 558568
+ xnomatch [0]
Well that's OK. If you ever want another game, you only have to ask.
+ A1, 1A, a1, 1a, B1, 1B, b1, 1b, C1, 1C, c1, 1c, A2, 2A, a2, 2a, B2, 2B, b2, 2b, B3, 3B, b3, 3b, C3, C3, 3c, c3 [0]
Goto 558568
+ C2, 2C, c2, 2c [0]
..........A......B......C..
.....1....o......x.......o.. - you went C2
.....2....x......x.......o.. - It's a Draw!
.....3....x.....o.......x..
+ A3, 3A, a3, 3a [0]
..........A......B......C..
.....1....o......x.......o.. - you went A3
.....2....x......x.......x.. - I Win!
.....3....o.....o.......x..
+ A2, 2A, a2, 2a [0]
..........A......B......C..
.....1....o......x.......o.. - you went A2
.....2....o......x........... - I Win!
.....3............x......x..
+ C2, 2C, c2, 2c [0]
..........A......B......C..
.....1....o......x.......o.. - you went C2
.....2............x.......o.. - I Win!
.....3...........x.......x..
+ A3, 3A, a3, 3a [0]
..........A......B......C..
.....1....o......x.......o.. - you went A3
.....2............x........... - I Win!
.....3....o.....x.......x..
+ A2, 2A, 2a, a2 [0]
..........A......B......C..
.....1....o................... - you went A2
.....2....o......x........... - I go A3
.....3....x..............x..
+ xnomatch [0]
Was that a move? Sorry - I didn't recognize it. Did you want to stop playing the game?
+ xnomatch [0]
OK. If you ever want another game, feel free to ask.
+ no, not * (stop|end|finish) [0]
Goto 558168
+ A1, 1A, a1, 1a, A2, 2A, a2, 2a, B2, 2B, b2, 2b, A3, 3A, a3, 3a, C3, C3, 3c, c3 [0]
Goto 558168
+ C1, 1C, c1, 1c [0]
..........A......B......C..
.....1....o...............o.. - you went C1
.....2....o......x........... - I Win!
.....3....x......x......x..
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1....o...............x.. - you went B3
.....2....o......x........... - I Win!
.....3....x......o......x..
+ B1, 1B, b1, 1b [0]
..........A......B......C..
.....1....o......o.......x.. - you went B1
.....2....o......x........... - I Win!
.....3....x..............x..
+ C2, 2C, c2, 2c [0]
..........A......B......C..
.....1....o...............x.. - you went C2
.....2....o......x.......o.. - I Win!
.....3....x..............x..
+ C2, 2C, c2, 2c [0]
..........A......B......C..
.....1....o................... - you went C2
.....2............x.......o.. - I go A3
.....3....x..............x..
+ xnomatch [0]
Sorry, I didn't recognize that move. Did you want to stop playing this game?
+ xnomatch [0]
That's OK. If you ever want another game, you only have to ask.
+ no, not * (stop|end|finish) [0]
Goto 558175
+ A1, 1A, a1, 1a, B2, 2B, b2, 2b, C2, 2C, c2, 2c, A3, 3A, a3, 3a, C3, 3C, c3, 3c [0]
Goto 558175
+ C1, 1C, c1, 1c [0]
..........A......B......C..
.....1....o...............o.. - you went C1
.....2............x.......o.. - I Win!
.....3....x......x......x..
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1....o...............x.. - you went B3
.....2............x.......o.. - I Win!
.....3....x......o......x..
+ B1, 1B, b1, 1b [0]
..........A......B......C..
.....1....o......o......x.. - you went B3
.....2............x.......o.. - I Win!
.....3....x..............x..
+ A2, 2A, 2a, a2 [0]
..........A......B......C..
.....1....o................... - you went A2
.....2....o......x.......o.. - I Win!
.....3....x......x......x..
+ A3, 3A, a3, 3a [0]
..........A......B......C..
.....1....o................... - you went A3
.....2....x......x........... - I go A2
.....3....o..............x..
+ xnomatch [0]
Was that a move? Sorry - I didn't recognize it. Did you want to stop playing the game?
+ xnomatch [0]
OK, that's fine. But if you ever want another game, you only need to ask.
+ no, not * (stop|end|finish) [0]
Goto 558196
+ A1, 1A, a1, 1a, A2, 2A, a2, 2a, B2, 2B, b2, 2b, A3, 3A, a3, 3a, C3, 3C, c3, 3c [0]
Goto 558196
+ C2, 2C, c2, 2c [0]
..........A......B......C..
.....1....o.......x.......... - you went C2
.....2....x......x.......o.. - I go B1
.....3....o...............x..
+ xnomatch [0]
Sorry, was that a move? I didn't recognize it. Or do you want to stop playing this game?
+ no, not * (stop|end|finish) [0]
Goto 558589
+ xnomatch [0]
That's fine. But if you ever want another game, feel free to ask.
+ A1, 1A, a1, 1a, B1, 1B, b1, 1b, A2, 2A, a2, 2a, B2, 2B, b2, 2b, C2, 2C, c2, 2c, A3, 3A, a3, 3a, C3, 3C, c3, 3c [0]
Goto 558589
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1....o.......x......x.. - you went B3
.....2....x......x.......o.. - It's a Draw!
.....3....o.......o......x..
+ C1, 1C, c1, 1c [0]
..........A......B......C..
.....1....o......x.......o.. - you went C1
.....2....x......x.......o.. - I Win!
.....3....o......x.......x..
+ B1, 1B, b1, 1b [0]
..........A......B......C..
.....1....o.......o.......... - you went B1
.....2....x......x.......x.. - I Win!
.....3....o..............x..
+ C1, 1C, c1, 1c [0]
..........A......B......C..
.....1....o...............o.. - you went C1
.....2....x......x.......x .. - I Win!
.....3....o..............x..
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1....o................... - you went B3
.....2....x......x.......x.. - I Win!
.....3....o.....o.......x..
+ C1, 1C, c1, 1c [0]
..........A......B......C..
.....1....o...............o.. - you went C1
.....2....x......x.......x.. - I Win!
.....3....................x..
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1....o...............x.. - you went B3
.....2............x........... - I go C1
.....3...........o.......x..
+ xnomatch [0]
Hmm, I didn't recognize that move. Did you want to stop playing?
+ no, not * (stop|end|finish) [0]
Goto 558197
+ xnomatch [0]
That's OK. If you ever want another game, you only have to ask.
+ A1, 1A, a1, 1a, C1, 1C, c1, 1c, B2, 2B, b2, 2b, 3B, B3, 3b, b3, C3, 3C, c3, 3c [0]
Goto 558197
+ C2, 2C, c2, 2c [0]
..........A......B......C..
.....1....o...............x.. - you went C2
.....2............x.......o.. - I Win!
.....3....x.....o.......x..
+ A3, 3A, a3, 3a [0]
..........A......B......C..
.....1....o...............x.. - you went A3
.....2............x.......x.. - I Win!
.....3....x......o.......x..
+ B1, 1B, b1, 1b [0]
..........A......B......C..
.....1....o......o.......x.. - you went B1
.....2............x.......x.. - I Win!
.....3...........o.......x..
+ A2, 2A, a2, 2a [0]
..........A......B......C..
.....1....o...............x.. - you went A2
.....2....o......x........... - I Win!
.....3....x.....o.......x..
+ B1, 1B, b1, 1b [0]
..........A......B......C..
.....1............o........... - you went B1
.....2............x........... - I go A3
.....3....x...................
+ B1, 1B, b1, 1b, B2, 2B, b2, 2b, 3A, A3, 3a, a3 [0]
Goto 558090
+ xnomatch [0]
Sorry, I didn't recognize that move. Do you want to stop playing this game?
+ no, not * (stop|end|finish) [0]
Goto 558090
+ xnomatch [0]
OK, that's fine. But if you ever want another game, you only need to ask.
+ C1, 1C, c1, 1c [0]
..........A......B......C..
.....1....x......o.......o.. - you went C1
.....2............x........... - I went A1
.....3....x...................
+ A1, 1A, a1, 1a, B1, 1B, b1, 1b, C1, 1C, c1, 1c, B2, 2B, b2, 2b, 3A, A3, 3a, a3 [0]
Goto 558214
+ xnomatch [0]
I didn't recognize that move. Do you want to stop playing this game?
+ no, not * (stop|end|finish) [0]
Goto 558214
+ xnomatch [0]
Oh well, that's fine. But if you ever want another game, you only need to ask.
+ A2, 2A, a2, 2a [0]
..........A......B......C..
.....1....x......o.......o.. - you went A2
.....2....o......x........... - I Win!
.....3....x...............x..
+ C2, 2C, c2, 2c [0]
..........A......B......C..
.....1....x......o.......o.. - you went C2
.....2............x.......o.. - I Win!
.....3....x...............x..
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1....x......o.......o.. - you went B3
.....2............x........... - I Win!
.....3....x.......o......x..
+ C3, 3C, c3, 3c [0]
..........A......B......C..
.....1....x......o.......o.. - you went C3
.....2....x......x........... - I Win!
.....3....x...............o..
+ A1, 1A, a1, 1a [0]
..........A......B......C..
.....1....o......o.......x.. - you went A1
.....2............x........... - I Win!
.....3....x...................
+ A2, 2A, a2, 2a [0]
..........A......B......C..
.....1....x......o.......x.. - you went A2
.....2....o......x........... - I Win!
.....3....x...................
+ C3, 3C, c3, 3c [0]
..........A......B......C..
.....1............o.......x.. - you went C3
.....2............x........... - I Win!
.....3....x...............o..
+ C2, 2C, c2, 2c [0]
..........A......B......C..
.....1............o.......x.. - you went C2
.....2............x.......o.. - I Win!
.....3....x...................
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1............o.......x.. - you went B3
.....2............x........... - I Win!
.....3....x......o............
+ C1, 1C, c1, 1c [0]
..........A......B......C..
.....1.....................o.. - you went C1
.....2............x.......x.. - I go C2
.....3.........................
+ C1, 1C, c1, 1c, B2, 2B, b2, 2b, C2, 2C, c2, 2c [0]
Goto 558111
+ xnomatch [0]
Sorry, I didn't catch that. Do you want to stop playing this game?
+ xnomatch [0]
Fine. But if you ever want another game, feel free to ask.
+ no, not * (stop|end|finish) [0]
Goto 558111
+ A2, 2A, a2, 2a [0]
..........A......B......C..
.....1....x...............o.. - you went A2
.....2....o......x.......x.. - I go A1
.....3.........................
+ A1, 1A, a1, 1a, A2, 2A, a2, 2a, C1, 1C, c1, 1c, B2, 2B, b2, 2b, C2, 2C, c2, 2c [0]
Goto 558223
+ xnomatch [0]
I'm sorry, I didn't recognize that move. Do you want to stop playing this game?
+ no, not * (stop|end|finish) [0]
Goto 558223
+ xnomatch [0]
That's fine. If you ever want another game, you only have to ask.
+ B1, 1B, b1, 1b [0]
..........A......B......C..
.....1....x......o.......o.. - you went B1
.....2....o......x.......x.. - I Win!
.....3.....................x..
+ A3, 3A, a3, 3a [0]
..........A......B......C..
.....1....x...............o.. - you went A3
.....2....o......x.......x.. - I Win!
.....3....o................x..
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1....x...............o.. - you went B3
.....2....o......x.......x.. - I Win!
.....3............o.......x..
+ C3, 3C, c3, 3c [0]
..........A......B......C..
.....1....x...............o.. - you went C3
.....2....o......x.......x.. - I go B3
.....3............x.......o..
+ A1, 1A, a1, 1a, A2, 2A, a2, 2a, C1, 1C, c1, 1c, B2, 2B, b2, 2b, C2, 2C, c2, 2c, B3, 3B, b3, 3b, C3, 3C, c3, 3c [0]
Goto 559022
+ xnomatch [0]
I'm afraid I didn't recognize that move. Do you want to stop playing this game?
+ xnomatch [0]
OK, that's fine. But if you ever want another game, you only need to ask.
+ no, not * (stop|end|finish) [0]
Goto 559022
+ B1, 1B, b1, 1b [0]
..........A......B......C..
.....1....x......o.......o.. - you went B1
.....2....o......x.......x.. - It's a Draw!
.....3....x......x.......o..
+ A3, 3A, a3, 3a [0]
..........A......B......C..
.....1....x......x.......o.. - you went A3
.....2....o......x.......x.. - I Win!
.....3....o......x.......o..
+ A1, 1A, a1, 1a [0]
..........A......B......C..
.....1....o...............o.. - you went A1
.....2....x......x.......x.. - I Win!
.....3.........................
+ B1, 1B, b1, 1b [0]
..........A......B......C..
.....1............o.......o.. - you went B1
.....2....x.......x.......x.. - I Win!
.....3.........................
+ A3, 3A, a3, 3a [0]
..........A......B......C..
.....1.....................o.. - you went C1
.....2....x.......x.......x.. - I Win!
.....3....o...................
+ B3, 3B, b3, 3b [0]
..........A......B......C..
.....1.....................o.. - you went B3
.....2....x......x.......x.. - I Win!
.....3............o...........
+ C3, 3C, c3, 3c [0]
..........A......B......C..
.....1.....................o.. - you went C3
.....2....x......