Menace is a project mainly written in PHP, it's free.
menace: the tic-tac-toe playing machine
404: Not Found