| 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 |
Choose some values from array "flagx" and write to (now free) array "x_away on the same square position other value. Search "flagx" values for dilayx and delayx structures and bigger than this. More about bigger flagx values: see page 18 More about delay structures: see page 19 and about dilay structures: see page 20
Next step: in array "x_away" engine search structures containing more squares with value higher than zero. If yes, write new values to (now free) array "x_plus". For more about array "x_plus" see next page.
Sequences of signs in "matRCboard" array (left side) by "more delay" rules for searching values in array "x_away" (right side):
|
||||
|
examples in C++
searching values by "more delay" rules in array "x_away" in direction from left to right ( >> ): //erase all values in array "x_plus" ant this is now free for next use |
|||||
| go on: | < previous page | next page > | |||
| FREE SECTOR, 2014 (free alliance of developers Pixoria gomoku plug-in engines) | page 24/30 | ||||