https://github.com/jasonv/tictactoe
A Java Tic-Tac-Toe Game
https://github.com/jasonv/tictactoe
ai java tic-tac-toe tictactoe-game
Last synced: about 1 year ago
JSON representation
A Java Tic-Tac-Toe Game
- Host: GitHub
- URL: https://github.com/jasonv/tictactoe
- Owner: jasonv
- Created: 2010-06-30T04:42:29.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2010-11-12T05:44:31.000Z (over 15 years ago)
- Last Synced: 2023-03-11T04:13:37.290Z (over 3 years ago)
- Topics: ai, java, tic-tac-toe, tictactoe-game
- Language: Java
- Homepage:
- Size: 2.56 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
Tic Tac Toe
===========
A console implementation of Tic Tac Toe with an unbeatable computer player.
Setup
-----
Checkout the TicTacToe project from github.com/jasonv98 into your local workspace folder for eclipse.
Run Test Cases
--------------
The test cases prove that the AiWikipedia A.I. is unbeatable. The CountNumberOfLosses class systemically plays every possible game of TicTacToe against a given A.I. and counts the number of losses. We can see that AiWikipedia yields zero losses and the others loose sometimes.
Play Against The A.I.
---------------------
To play against the computer, run com.jasonv.tictactoe.TextAIUI.
Play With Another Person
------------------------
To play with another person and alternate turns, run com.jasonv.tictactoe.TextUI.