Skip to content

The purpose of this project is to create a game where different AI agents will compete against each other playing a game called SOS.

Notifications You must be signed in to change notification settings

narinemarutyan/SOS-AI-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOS

Introduction to the game

SOS is game played by two players, on any nxn grid. The objective of each player is to cover the board with as many “S-O-S” formations as possible. It is quite similar to tic-tac-toe, the only differences are that here the players choose between "S" and "O" during each move and after an "S-O-S" formation a player recieves a move.

How to Run the Code

  1. Download the code package

  2. In terminal, sos_code directory run

python3 main.py
  1. Choose the board size

  2. Choose the players

  3. In case of Minimax with Alpha-Beta player choose the depth of search levels

  4. Enjoy the Game

Player Types

  1. User player -- human plays the game inserts the moves
  2. Random player -- an artificial random agent
  3. Minimax with Alpha-Beta player -- An agent which plays with Alpha-Beta Pruning algorithm, with a defined evaluaiton function

About

The purpose of this project is to create a game where different AI agents will compete against each other playing a game called SOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages