Skip to content

lingchunkai/2048_ai

Repository files navigation

##INSTALLATION

For the UI, you will need to download and install the SimpleGUI wrapper. Not need for any other steps.

USAGE

For running and visualizing the agent (defaults to MCTS via UCT)

>> python hook.py

To change agents (or add your own), edit hook.py and change the following line near the bottom to whatever you want.

>> ai = mcts_2048_ai.TwentyFortyEight_mcts()

For assessment and benchmarking, you may run code directly from the files, for example

>> mcts_2048_ai.py

You may also try other board sizes for fun!

KNOWN ISSUES

  • Yes, I know the code is poorly written ;)
  • I haven't disabled keyboard input for the gui client. Do not press any keys when the agent is playing!

CREDITS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages