Skip to content

COL333 Fall 2023 A5. Rollerball, but more complex.

Notifications You must be signed in to change notification settings

rajatgolechha3319/rollerball-v2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a bot for a chess inspired game - Rollerball : which has three different boards (7x3, 8x4, 8x2), each with its different rules and pieces. Game rules can be found in a2.pdf and its extensions to the three boards in a5.pdf.
The assignment uses clever heuristics added into the famous minimax algorithm.
This was made as an assignment for COL333: Aritificial Intelligence, 2023.

Requirements

  1. gcc >= 11
  2. python >= 3.7

Quickstart

git clone https://github.com/Aniruddha-Deb/rollerball-v2 && cd rollerball-v2
make rollerball

If all goes well, you should have an executable called rollerball in bin. To run the GUI, launch a web server from the web directory.

cd web
python3 -m http.server 8080

You can then open localhost:8080 on your browser to view the GUI. Here you can select one of the three board types.

To launch the bots (assuming you're in the directory)

./bin/rollerball -p 8181

You can then connect the GUI to the bots. You would also need to start another bot for black on port 8182 to join and start the game.

About

COL333 Fall 2023 A5. Rollerball, but more complex.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.7%
  • Vue 0.3%
  • CSS 0.0%
  • Makefile 0.0%
  • JavaScript 0.0%
  • HTML 0.0%