Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/findmyway/connectfoursolver.jl
https://github.com/findmyway/connectfoursolver.jl
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/findmyway/connectfoursolver.jl
- Owner: findmyway
- License: mit
- Created: 2020-04-21T07:05:10.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T07:07:41.000Z (almost 5 years ago)
- Last Synced: 2025-01-18T07:46:29.885Z (6 days ago)
- Language: Julia
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ConnectFourSolver
[![Build Status](https://travis-ci.com/findmyway/ConnectFourSolver.jl.svg?branch=master)](https://travis-ci.com/findmyway/ConnectFourSolver.jl)
This package provides a Julia wrapper for [PascalPons/connect4](https://github.com/PascalPons/connect4).
# Usage
```julia
using ConnectFourSolversolver = Solver()
book = get_book()
load_book(solver, book)p = Position()
solver(p) # 1for x in 0:6
p′ = copy(p)
p′(x)
println(solver(p′))
end# 2
# 1
# 0
# -1
# 0
# 1
# 2
```