ConnectFourSolver.jl

Author findmyway
Popularity
0 Stars
Updated Last
5 Months Ago
Started In
April 2020

ConnectFourSolver

Build Status

This package provides a Julia wrapper for PascalPons/connect4.

Usage

using ConnectFourSolver

solver = Solver()
book = get_book()
load_book(solver, book)

p = Position()
solver(p)  # 1

for x in 0:6
    p′ = copy(p)
    p′(x)
    println(solver(p′))
end

# 2
# 1
# 0
# -1
# 0
# 1
# 2

Used By Packages

No packages found.