Skip to content

Commit 1e16ef4

Browse files
authored
Update README.md
1 parent ea19407 commit 1e16ef4

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# ArduinoTicTacToe
2-
An invincible Tic Tac Toe single player on Arduino Uno/Nano
1+
# Fork of ArduinoTicTacToe
2+
https://github.com/klauscam/ArduinoTicTacToe
33

4-
Buy me a beer using Bitcoin
5-
## [163anEKNWhuRuv1srtPcvzEw7iLPQnz1qr](bitcoin:163anEKNWhuRuv1srtPcvzEw7iLPQnz1qr)
4+
## Added additional features
5+
6+
Ran code through Arduino IDE auto formatter. Added: drawing grid number layout (void drawNumberedBoard() ), invalid player number detection, "thinking..." message if the player enters a valid number, an error message if the player enters an invalid number. Changed "move >= 9" to "move > 8" and changed variable type of 'move' and 'player' from int to byte.
7+
8+
Reminder to self: may also change ((move > 8 || move < 0) || board[move] != 0) to (move > 8 || move < 0 || board[move] != 0) since the additional brackets are unnecessary.

0 commit comments

Comments
 (0)