programgames/tic-tac-toe/tic-tac-toe.xtl
b : Int
b ← 1 1 0 -1 -1 0 0 0 0
p : Int
p ← 1 -1 0 0 1 0 0 0 -1
ᵘs̲elf : (Num a, Truthy a) => a -> a
The quick player against itself, from an empty board: a draw.
ᵘs̲elf ← { b → 0 < ᵗs̲tatus b ? b ᵘs̲elf b ᵗm̲ove ᵗa̲i b }