Ejemplo de Partida

Comencemos viendo un ejemplo de partida:
[~/srcLPP/tictactoe(master)]$ ruby lpp_solution.rb 

  +---+---+---+
a |   |   |   |
  +---+---+---+
b |   | X |   |
  +---+---+---+
c |   |   |   |
  +---+---+---+
    1   2   3

Your move?  (format: b3)  c1

  +---+---+---+
a |   |   | X |
  +---+---+---+
b |   | X |   |
  +---+---+---+
c | O |   |   |
  +---+---+---+
    1   2   3

Your move?  (format: b3)  a1

  +---+---+---+
a | O |   | X |
  +---+---+---+
b | X | X |   |
  +---+---+---+
c | O |   |   |
  +---+---+---+
    1   2   3

Your move?  (format: b3)  b3

  +---+---+---+
a | O |   | X |
  +---+---+---+
b | X | X | O |
  +---+---+---+
c | O |   | X |
  +---+---+---+
    1   2   3

Your move?  (format: b3)  a2

  +---+---+---+
a | O | O | X |
  +---+---+---+
b | X | X | O |
  +---+---+---+
c | O | X | X |
  +---+---+---+
    1   2   3

Tie game.

[~/srcLPP/tictactoe(master)]$



Casiano Rodriguez León 2015-06-18