fix swapped x and y coordinates

This commit is contained in:
2026-04-04 21:34:13 +02:00
parent 12eba69eb1
commit 610bc1c07c
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -22,13 +22,13 @@ After loading the module, player X can write grid coordinates
(ranging from 1 to 3, format `XY`) to `/dev/tictactoe` to make their first move:
```console
# echo 12 > /dev/tictactoe
# echo 22 > /dev/tictactoe
```
After player X has made their move, player O can do the same:
```console
# echo 22 > /dev/tictactoe
# echo 13 > /dev/tictactoe
```
To inspect the current state of the game, simply read from `/dev/tictactoe`:
@@ -39,9 +39,9 @@ To inspect the current state of the game, simply read from `/dev/tictactoe`:
```
#####
# X #
# O #
# #
# X #
#O #
#####
It's X's turn!