Skip to content

Instantly share code, notes, and snippets.

@barelyknown
Created October 31, 2012 18:58
Show Gist options
  • Save barelyknown/3989109 to your computer and use it in GitHub Desktop.
Save barelyknown/3989109 to your computer and use it in GitHub Desktop.
Letterpress Simulation Output
Players playing an edge and corner strategy with player 2 looking for a 1st defended corner. Strategies defined as ruby procs:
EDGE_AND_CORNER = ->(move) do
move.score[:covered] + move.score[:defended] + move.score[:edges] + move.score[:corners]
end
CORNER_LOVER = ->(move) do
score = move.score[:covered] + move.score[:defended] + move.score[:edges] + move.score[:corners]
score += 10 if (move.score[:corners_defended_before] == 0 && move.score[:corners_defended_after] > 0)
score
end
Player 1 will play: CRISPLY
S1 S V H C1
I1 J N M K
N I I C F
R1 Y1 N W C
P1 P L1 W B
Player 1: 7
Player 2: 0
Player 2 will play: SCHRIK
S2 S V H2 C2
I2 J N M K2
N I I C F
R2 Y1 N W C
P1 P L1 W B
Player 1: 3
Player 2: 6
Player 1 will play: PRINKS
S2 S1 V H2 C2
I2 J N M K1
N1 I1 I C F
R1 Y1 N W C
P1 P1 L1 W B
Player 1: 9
Player 2: 4
Player 2 will play: BLINKS
S2 S2 V H2 C2
I2 J N M K2
N2 I2 I C F
R1 Y1 N W C
P1 P1 L2 W B2
Player 1: 4
Player 2: 10
Player 1 will play: LYCHNIS
S2 S1 V H1 C2
I2 J N M K2
N1 I1 I C1 F
R1 Y1 N W C
P1 P1 L1 W B2
Player 1: 10
Player 2: 5
Player 2 will play: FLYSCH
S2 S2 V H2 C2
I2 J N M K2
N1 I1 I C1 F2
R1 Y2 N W C2
P1 P1 L2 W B2
Player 1: 6
Player 2: 11
Player 1 will play: CHIMBLY
S2 S2 V H1 C2
I2 J N M1 K2
N1 I1 I1 C1 F2
R1 Y1 N W C1
P1 P1 L1 W B1
Player 1: 13
Player 2: 6
Player 2 will play: NIMBLY
S2 S2 V H1 C2
I2 J N M2 K2
N2 I2 I1 C1 F2
R1 Y2 N W C1
P1 P1 L2 W B2
Player 1: 7
Player 2: 12
Player 1 will play: VINYLS
S2 S1 V1 H1 C2
I2 J N M2 K2
N1 I1 I1 C1 F2
R1 Y1 N W C1
P1 P1 L1 W B2
Player 1: 13
Player 2: 7
Player 2 will play: SYLPHIC
S2 S2 V1 H2 C2
I2 J N M2 K2
N1 I1 I2 C1 F2
R1 Y2 N W C2
P1 P1 L2 W B2
Player 1: 7
Player 2: 13
Player 1 will play: CYMLINS
S2 S1 V1 H2 C2
I2 J N M1 K2
N1 I1 I1 C1 F2
R1 Y1 N1 W C1
P1 P1 L1 W B2
Player 1: 14
Player 2: 7
Player 2 will play: SYLVIN
S2 S2 V2 H2 C2
I2 J N M1 K2
N2 I2 I1 C1 F2
R1 Y1 N1 W C1
P1 P1 L2 W B2
Player 1: 9
Player 2: 12
Player 1 will play: WRINKLY
S2 S2 V2 H2 C2
I2 J N M1 K1
N1 I1 I1 C1 F2
R1 Y1 N1 W C1
P1 P1 L1 W1 B2
Player 1: 14
Player 2: 8
Player 2 will play: WRICKS
S2 S2 V2 H2 C2
I2 J N M1 K2
N1 I1 I2 C1 F2
R1 Y1 N1 W C2
P1 P1 L1 W2 B2
Player 1: 10
Player 2: 12
Player 1 will play: WHISK
S2 S1 V2 H1 C2
I2 J N M1 K1
N1 I1 I1 C1 F2
R1 Y1 N1 W C2
P1 P1 L1 W1 B2
Player 1: 15
Player 2: 7
Player 2 will play: CHINKS
S2 S2 V2 H2 C2
I2 J N M1 K2
N2 I2 I1 C2 F2
R1 Y1 N1 W C2
P1 P1 L1 W1 B2
Player 1: 9
Player 2: 13
Player 1 will play: BRINKS
S2 S1 V2 H2 C2
I2 J N M1 K1
N1 I1 I1 C2 F2
R1 Y1 N1 W C2
P1 P1 L1 W1 B1
Player 1: 14
Player 2: 8
Player 2 will play: MINKS
S2 S2 V2 H2 C2
I2 J N M2 K2
N2 I2 I1 C2 F2
R1 Y1 N1 W C2
P1 P1 L1 W1 B1
Player 1: 9
Player 2: 13
Player 1 will play: JINKS
S2 S1 V2 H2 C2
I2 J1 N M2 K2
N1 I1 I1 C2 F2
R1 Y1 N1 W C2
P1 P1 L1 W1 B1
Player 1: 13
Player 2: 10
Player 2 will play: JIBS
S2 S2 V2 H2 C2
I2 J2 N M2 K2
N1 I1 I2 C2 F2
R1 Y1 N1 W C2
P1 P1 L1 W1 B2
Player 1: 9
Player 2: 14
Player 1 will play: CLIMB
S2 S2 V2 H2 C2
I2 J2 N M1 K2
N1 I1 I1 C2 F2
R1 Y1 N1 W C1
P1 P1 L1 W1 B1
Player 1: 13
Player 2: 10
Player 2 will play: MINCY
S2 S2 V2 H2 C2
I2 J2 N M2 K2
N1 I1 I2 C2 F2
R1 Y1 N2 W C2
P1 P1 L1 W1 B1
Player 1: 9
Player 2: 14
Player 1 will play: PYKNIC
S2 S2 V2 H2 C2
I2 J2 N M2 K2
N1 I1 I1 C2 F2
R1 Y1 N1 W C1
P1 P1 L1 W1 B1
Player 1: 12
Player 2: 11
Player 2 will play: WINCH
S2 S2 V2 H2 C2
I2 J2 N M2 K2
N1 I1 I2 C2 F2
R1 Y1 N2 W C2
P1 P1 L1 W2 B1
Player 1: 8
Player 2: 15
Player 1 will play: JIVY
S2 S2 V1 H2 C2
I1 J1 N M2 K2
N1 I1 I2 C2 F2
R1 Y1 N2 W C2
P1 P1 L1 W2 B1
Player 1: 11
Player 2: 12
Player 2 will play: SIBYL
S2 S2 V1 H2 C2
I2 J1 N M2 K2
N1 I1 I2 C2 F2
R1 Y2 N2 W C2
P1 P1 L2 W2 B2
Player 1: 7
Player 2: 16
Player 1 will play: SHILY
S2 S1 V1 H1 C2
I2 J1 N M2 K2
N1 I1 I1 C2 F2
R1 Y1 N2 W C2
P1 P1 L1 W2 B2
Player 1: 12
Player 2: 11
Player 2 will play: WHIRLY
S2 S1 V1 H2 C2
I2 J1 N M2 K2
N1 I1 I1 C2 F2
R1 Y2 N2 W2 C2
P1 P1 L2 W2 B2
Player 1: 9
Player 2: 15
Player 1 will play: SLINKY
S1 S1 V1 H2 C2
I1 J1 N1 M2 K2
N1 I1 I1 C2 F2
R1 Y1 N2 W2 C2
P1 P1 L1 W2 B2
Player 1: 14
Player 2: 11
Game Over!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment