-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpatterns.dat
65 lines (58 loc) · 1.18 KB
/
patterns.dat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#################################################
# Patterns Data
#################################################
# instruction format:
# ipcccccccc
# where:
# i: instruction
# +: add pattern(s)
# -: remove pattern(s)
# p: next to play
# B: black
# W: white
# *: either
# c: the color of the location
# in the order NW,N,NE,W,E,SW,S,SE
# B: black
# W: white
# E: empty
# -: offboard (edge)
# b: not black
# w: not white
# e: not empty
# ?: any
#################################################
# Patterns from Mogo below
# Hane
# matches any
# B W B B W E B W ? B W W
# E * E E * E B * E E B E
# ? ? ? ? E ? ? E ? ? E ?
+*BWBEE???
+*BWEEE?E?
+*BW?BE?E?
+BBWWEE?E?
# Cut 1
# matches only first
# B W ? B W ? B W ?
# W * ? W * W W * E
# ? ? ? ? E ? ? W ?
+*BW?W????
-*BW?WW?E?
-*BW?WE?W?
# Cut 2
# matches
# ? B ?
# W * W
# w w w
+*?B?WWwww
# Edges
# matches any
# B E ? ? B ? ? B W ? B W ? B W
# W * ? b * W ? B ? ? W b W W B
# - - - - - - - - - - - - - - -
+*BE?W?---
+*?B?bW---
+B?BW??---
+W?BW?b---
+W?BWWB---