ConnectFourSolver.jl

Author findmyway
Popularity
1 Star
Updated Last
2 Years 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

Required Packages

Used By Packages

No packages found.