Skip to content

An AI to play a game similar to Tic-Tac-Toe except you need 5 in a row to win

Notifications You must be signed in to change notification settings

toddnguyen47/connect-five-0x88

Repository files navigation

Connect Five 0x88

An AI to play a game similar to Tic-Tac-Toe except you need 5 in a row to win. This game will run on an 8x8 board represented by the 0x88 representation. The 0x88 representation is most often used to represent chess boards. Since chess boards and this board has the same size, we can also use 0x88 to represent the Five in a Row board.

The algorithm that this AI will run on is the MiniMax with Alpha-Beta Pruning.

Install C# Compiler

Download the C# compiler (dotnet.exe and csc.exe) here.

How to Compile and Run

Type into a command line

dotnet run

How to Compile Only

Type into a command line:

dotnet build

How to Build an executable

Type into a command line:

dotnet publish -c Release -r os_version

where os_version is the desired OS. For example, if you want to make an executable for Windows 10 64-bit then the os_version will be win10-x64. The full command line would be dotnet publish -c Release -r win10-x64

About

An AI to play a game similar to Tic-Tac-Toe except you need 5 in a row to win

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published