Skip to content

Instantly share code, notes, and snippets.

@vladbazon
vladbazon / hw5.cc
Created December 4, 2013 11:35
Implement a Hex Monte Carlo player
// I use g++ (Ubuntu) 4.6.3 (with --std=gnu++0x and -O3 optimisation):
// g++ --std=gnu++0x -O3 hw5.cc -o play
/* *******************************************************************
move (<LETTER><letter>): Bk
Think (not deeply, but we see...)
o
a b c d e f g h i j k
A . . . . . . . . . x o A
B . . . . . . o x x o o B