Skip to content

tictactoe

Parodper edited this page Jul 17, 2020 · 2 revisions

TICTACTOE Program

For the game press the number key corresponding to the cell position. Once a key is pressed a turn passes from one player (Example: Player [1]) to the other player (Example: Player [2])

Variables

|31 A|32 B|33 C|
|21 D|22 E|23 F|
|35 G|36 H|37 I|
  • K: Player

Example:

+----------------+
|1           12. |
|            112 |
|            2.. |
|                |
+----------------+
Clone this wiki locally