Commits

Author Commit Message Labels Comments Date
Alex Lemann
Cleanup, documentation, and fixed heuristic Remove unused testing framework Remove unused POST interface Removed unused imports Clean up game algo: removed rows(), columns(), diagnols() replaced with lines_of_attack() Added comments to explain game algo Fix heuristic code If there are heuristically equal boards for the next move, make a random choice
Colin Copeland
add winner check in JS
Alex Lemann
Use minimax algo to calculate next best move.
Alex Lemann
combine some cases to clean up a bit
Alex Lemann
check for winning moves and block or win
Colin Copeland
move html/js into client dir
Colin Copeland
add has_winner stub
Colin Copeland
remove snake code
Colin Copeland
cleanup client code
Colin Copeland
make server only move for a single player; update client to listen for and redraw board on server move
Colin Copeland
use tornado's bulit-in HttpSocket support
Colin Copeland
add websockets
Colin Copeland
add requirements file
Colin Copeland
hgignore
Colin Copeland
add proper $.ajax call; tornado automatically writes json if given dict, so remove json stuff
Colin Copeland
use alternate mouse postition technique for FF compatability
Colin Copeland
add POST
Colin Copeland
fix row/column x/y pairing
Colin Copeland
add alternating colors
Colin Copeland
create board JS class
Colin Copeland
merge
Colin Copeland
add a bit of style
Colin Copeland
adjust board width/heigh for line width
Alex Lemann
Refactor tests. Now make a random move.
lem...@mildred
new tornado server. with basic handler & testing framework
Colin Copeland
add basic board
Colin Copeland
tic-tac-toe
Colin Copeland
snake example