| 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 |
Array "xmap" with reduced amount different values (see page 07) is source for other values in variable "lagx": Value in variable "lagx" is further editing (see next pages).
Rules: 1. if xmap value is bigger than 1, then lagx value is 100, 2. bigger than 4, then 1000, 3. bigger than 26, then 5000 (5K), 4. else lagx value is 0 ![]() |
||||
|
examples in C++
rewrite array named xmap to other array (flagx) with this filter of values ( >> ): int limit[4] = {0, 1, 4, 26};
int xoflag[4] = {0, 100, 1000, 5000};
|
|||||
| go on: | < previous page | next page > | |||
| iM007: alike theme | FREE SECTOR, 2014 (free alliance of developers Pixoria gomoku plug-in engines) | page 13/30 | |||