Skip to content

lukekh/ConnectBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ConnectBot

A simple bot that plays Connect Four

How do I play this bot?

The bot is contained inside the Board class and was built to operate on IPython

Your best bet is opening up a Jupyter terminal and doing the following:

import ConnectBot

B = ConnectBot.Board()

B.play()

The play method will take in two optional kwargs, player and difficulty. If player is set to 0 you take the first move, 1 you take the second move, -1 is for two human players. Difficulty is set to 3 by default and is computationally expensive above 4.

About

A simple bot that plays Connect Four

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages