Skip to content

This is a version of the minimax algorithm that helps you find what's the best move you can make.

License

Notifications You must be signed in to change notification settings

josesaulguerrero/miminaxAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimax Algorithm

I wrote this version of the minimax algorithm using typeScript, so that the code is much easier to read and understand for anyone who is interested or concerned about it.

Getting started

If you want to try this algorithm and run it, then simply:

  1. Install all dependencies using yarn install.
  2. run yarn start on your terminal to build your files every time that the source code changes.
  3. Change the game board in the board.ts file.
  4. Finally, use node or nodemon to run the bundle.js file in the dist directory and see the results.

About

This is a version of the minimax algorithm that helps you find what's the best move you can make.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published