Skip to content

Monte Carlo Tree Search module for general game playing, as well as some concrete implementations of agents for specific games.

License

Notifications You must be signed in to change notification settings

jar2333/MCTS.hs

Repository files navigation

MCTS

To build:

stack build

Might take a while the first time due to some packages needing to be installed.

To run the interactive demo (human vs agent):

stack exec MCTS-exe <iter> <rollout> <seed>

The parameters are as follows:

  • <iter>: the number of MCTS iterations to do per turn
  • <rollout>: the number of simulations to run at each game tree leaf (run in parallel!)
  • <seed>: the seed for the random number generator used in simulation

To run the simulation (agent vs agent), with same parameters:

stack exec MCTS-simulation <iter> <rollout> <seed>

About

Monte Carlo Tree Search module for general game playing, as well as some concrete implementations of agents for specific games.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published