Skip to content

SchoolofAI-Vancouver/Connect4-Minimax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimax Workshop

This is the starter code for the Minimax workshop. The second of a three part series focusing on traditional AI techniques. This session will focus on adverserial search and we'll implement the minimax algorithm to play connect 4 !

To successfully minimax you will need to follow the instructions for the following MinimaxPlayer class methods in agent.py:

- minimax()
- min_value()
- max_value()
- minimax_search()

Getting Started

  1. Make sure you have Python 3.6 installed.

  2. Clone the repository

    git clone https://github.com/SchoolofAI-Vancouver/Connect4-Minimax.git
  3. Use Conda to create a new environment and install dependencies.
    Click Here if you need a detail guide on using conda.

    • Linux or Mac:
    conda create --name connect4 python=3.6
    source activate connect4
    conda install numpy
    conda install matplotlib
    conda install jupyter notebook
    • Windows:
    conda create --name connect4 python=3.6 
    activate connect4
    conda install numpy
    conda install matplotlib
    conda install jupyter notebook

Instructions

Navigate to the directory and open Connect4.ipynb

jupyter notebook Connect4.ipynb

About

Starting Material for the Minimax workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published