GitXplorerGitXplorer
t

tictactoe-java

public
6 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
c930432a6f30e616bc626403f6352602db36fac7

adding persistence (local MySQL server) to cache records - takes like 6 hours for 4x4; don't try this at home

ttrptcolin committed 16 years ago
Unverified
ea56c20cfac5faeea3d6780f64edd234c5c1d8b1

changing references to static from instance; removing unnecessary local variable

ttrptcolin committed 16 years ago
Unverified
e9254df15103d6d3bd4ba07fd67ff80b15524158

converting to 3x3 console mode by default

ttrptcolin committed 16 years ago
Unverified
66203116e23b1e8f089db39b1a5d3393f5e9c5bc

removing naming inconsistencies (3By3 vs. 3x3)

ttrptcolin committed 16 years ago
Unverified
848281460dfd79951a23698dedadda9684c048b2

clarifying and removing comments

ttrptcolin committed 16 years ago
Unverified
c88a0c995998ba04cc325c88ac5dafbc35d75ed5

removing duplication with Extract Method

ttrptcolin committed 16 years ago

README

The README file for this repository.

This is my second attempt at a Tic-Tac-Toe game, in Java this time.

The computer player's AI uses the minimax algorithm.

The view can also be easily switched out between a console version and a Swing GUI version (just exchange views.ConsoleView and views.SwingView in src/main.TicTacToe.java).

If you just want to play the game, run:

ant run

To run the test suite, it's just:

ant