Skip to content

AI that can play the game Simplexity implementing local search and minimax using Python

Notifications You must be signed in to change notification settings

reymyr/SimplexityAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplexity Board Game

📖 How to Run

  1. Install virtualenv if you haven't
pip install virtualenv
  1. Create virtualenv
virtualenv venv
  1. Activate the created virtualenv
venv\Scripts\activate
  1. Install dependencies
pip install -r requirements.txt
  1. Run
run.bat

How to Play with Others

  1. You need to copy class from others to minimax.py or local_search.py (for example MinimaxA and MinimaxB to minimax.py)
  2. Both of them need to have different class name (for example class MinimaxA and class MinimaxB)
  3. Run using --is_dump with bot name define in --bot1 or --bot2

⚙️ Config

You can change the config in run.bat

 --row <int>
 --column <int>
 --type <bvb?pvb?pvp>
 --player_choice <0?1>
 --thinking_time <float>
 --is_dump
 --bot1 <str>
 --bot2 <str>

✔️ Acknowledgement

This project is used for an assignment from IF3170 Artificial Intelligence 2021/2022

About

AI that can play the game Simplexity implementing local search and minimax using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages