oilulio / NoughtsAndCrosses

Teaching and testing noughts and crosses game (Tic-tac-toe)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Noughts And Crosses

Teaching and testing noughts and crosses game (Tic-tac-toe)

User can play against the computer at four levels of computer skill; if requested, computer will explain its moves.

Computer will also play against itself (WOPR mode). In that case, O is the specified skill level and X is always Poor (random play).

Results from random testing of at least 28,000 games, with X always Poor and O as selected, are:

O Skill level X Wins Draw X loses
Poor 58% 13% 29%
Medium 6% 24% 70%
Crowley and Siegler 0% 9% 91%
Expert 0% 11% 89%

Although the Poor line in the table involves both sides playing with the same 'Poor' skill level, because X goes first, the results are not symmetric.

About

Teaching and testing noughts and crosses game (Tic-tac-toe)

License:GNU General Public License v3.0


Languages

Language:JavaScript 85.8%Language:HTML 12.3%Language:CSS 1.9%