Anonymous user
Talk:Tic-tac-toe: Difference between revisions
→Design issues: added some comments, observations, and an example of a display of the game board.
m (→letting the human win (sometimes): added a truism (comment).) |
(→Design issues: added some comments, observations, and an example of a display of the game board.) |
||
Line 12:
... And I like your printout of the board. I really did do a minimal version of the game for Python. Maybe someone else will do a fancy version in Python for comparison? --[[User:Paddy3118|Paddy3118]] 12:45, 5 February 2011 (UTC)
: I took that approach and added still more whitespace (for the REXX entry). To make the game board (grid) easier to see (without the reference numbers --- otherwise it gets cluttered/obfuscated pretty fast with any game board larger than nine cells) --- I removed the ''numbering'' grid and placed it to the right of the playing board (along with generous whitespace. --- this causes a reference game board (grid) to be displayed, making it a lot easier on the ole eyeballs to see who has what markers where, and what's available for a move (empty cell), and in specifying where to move a piece. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 16:18, 3 October 2017 (UTC)
: An illuminating example (from a '''4x4''' tic─tac─toe game in progress):
<pre>
───────── computer places a marker [O] at cell number 16
║ ║ ║ │ │ │
║ ║ ║ 1 │ 2 │ 3 │ 4
║ ║ ║ │ │ │
═════╬═════╬═════╬═════ ─────┼─────┼─────┼─────
║ ║ ║ │ │ │
║ X ║ ║ X 5 │ 6 │ 7 │ 8
║ ║ ║ │ │ │
═════╬═════╬═════╬═════ ─────┼─────┼─────┼─────
║ ║ ║ │ │ │
║ O ║ ║ 9 │ 10 │ 11 │ 12
║ ║ ║ │ │ │
═════╬═════╬═════╬═════ ─────┼─────┼─────┼─────
║ ║ ║ │ │ │
║ ║ ║ O 13 │ 14 │ 15 │ 16
║ ║ ║ │ │ │
───────── Please enter a cell number to place your next marker [X] (or Quit):
</pre>
== letting the human win (sometimes) ==
|