0.2.0 • Published 2 years ago

ascacou-solver-wasm v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ascacou-solver-wasm

WASM interface for the ascacou solver. Only one function is exposed:

export function solve(fen: string, depth: number): number;

It takes a position FEN (TODO: link to what this means) and returns a number with only its 7 least bits are interesting. Here's an example usage:

import * as solver from "ascacou-solver-wasm"

solver.solve("1b3/1wbw1/1wbw1/1wwb1/5 7b3d5a40", 8) // => "bc1"
0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago