snek icon indicating copy to clipboard operation
snek copied to clipboard

Pattern tree with conditions

Open noff opened this issue 6 years ago • 0 comments

Now patterns are sequential: each pattern follows previous and doesn't apply if the previous pattern matches. If we add conditional pattern: it doesn't apply to snek's move, only split patterns to "yes" and "no" branches and next pattern in matched branch used to find move direction.

Rules patterns not sequential, but logical. Patterns can go step by step or be split by condition (pattern matched - yes, no). Limit patterns by 9-15. Only for pro account.

noff avatar Jun 14 '18 16:06 noff