https://github.com/danasilver/tic-tac-toe
https://github.com/danasilver/tic-tac-toe
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/danasilver/tic-tac-toe
- Owner: danasilver
- License: apache-2.0
- Created: 2013-02-04T05:29:42.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-02-04T21:18:18.000Z (over 13 years ago)
- Last Synced: 2025-02-24T02:30:04.556Z (over 1 year ago)
- Language: Java
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
Tic Tac Toe
------------
Four Java classes:
- BoardCanvas.java
- TTTGame.java
- Computer.java
- TicTacToeApplet.java
Each class contains extensive JavaDoc comments.
* Player MUST select opponent and player one's piece to begin.
* It is a known issue that when the human player ties the computer,
the computer makes an additional move. This issue should be resolved soon.
* TTTGame currently uses a two-dimensional array to keep track of moves.
Computer uses a one-dimensional array to determine the computer's move.
An update to TTTGame will use a one-dimensional array
instead to simplify the program.