marcelxyz / minimax-typescript

Typescript implementation of the Minimax Algorithm with alpha-beta pruning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimax in Typescript

A Typescript implementation of the Minimax algorithm with alpha-beta pruning.

Installation

Make sure you have installed yarn. Then run yarn.

Usage

See the examples directory for example usage.

You can also refer to the unit tests in MinimaxTest.ts.

Running tests

The application is unit tested using Jest. To run the entire test suite run yarn test.

About

Typescript implementation of the Minimax Algorithm with alpha-beta pruning

License:MIT License


Languages

Language:TypeScript 100.0%