| FS 03 /HOW MAKE IT: very shortly PICTORIAL GUIDE after GOMOKU ENGINE code | |||||
| go on: | < previous page
|
next page > | |||
![]() game board summary sumx and sumo sumx to xmap xmap between x add xmap between x less xmap more samples zeroX and zeroO xmap editing x_plus and middx x_plus and zeroX x_away and o_away xRCboard and liftx xRCboard add & less xmap to lagx lagx 5000 & x_away lagx 100 & x_away lagx 10 and lagx 1 lagx to x_tack xRCboard allways flagx allways delayx dilayx pred_x pred_x to xmap choose from flagx more delay more delay samples three crossmix more delay use flag to RCboard summary |
First layer move values, how is make it: About "zero": see page 06 About "lift": see page 11 About array with favoured squares: see page 08 About array with restricted squares: see page 10 To main array "xRCboard" add array "x_plus" with favoured squares and less array ("x_away") with restriction squares. ![]() |
||||
|
examples in C++
update array "xRCboard": for (row = 0; row < 19; row++) {
for (column = 0; column < 19; column++) {
if(xRCboard[row][column] < 6) xRCboard[row][column] *= liftx;
if(xRCboard[row][column] == 27) xRCboard[row][column] = tiffx;
|
|||||
| go on: | < previous page | next page > | |||
| FREE SECTOR, 2014 (free alliance of developers Pixoria gomoku plug-in engines) | page 12/30 | ||||