| 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 |
For more various values (scale zoom) in RCboar's arrays ("xRCboard and "oRCboard") if add an less others arrays. Sample using this on: see page 12
Editing for first (low) layer valuation of square. Top RCboard value is 200 and his priority is: 1. Value 27 has priority: 2, but it's processed on higher layers. In first of layer value 27 has not meaning.
value 27 is here, for first layer, next reduced: |
||||
|
examples in C++
change values in array according filter: for (row = 0; row < 19; row++) {
for (column = 0; column < 19; column++) {
if(xRCboard[row][column] < 6) xRCboard[row][column] *= liftx; //lift = 10
if(xRCboard[row][column] == 27) xRCboard[row][column] = tiffx; //tiffx = 15
}
}
|
|||||
| go on: | < previous page | next page > | |||
| FREE SECTOR, 2014 (free alliance of developers Pixoria gomoku plug-in engines) | page 11/30 | ||||