Skip to content

Vedabahu/mancala_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mancala Game

This repo includes the C++ and SolidJS implementation of the African game Mancala. This is done as a project for the course AI. It uses the Min-Max algorithm with alpha beta pruning to obtain the best possible move and play that.

Usage

C++ implementation

This code supports only the CLI playthroughs.

  • Clone the repo.
  • Compile the C++ file
g++ -O2 mancala.cpp
  • Run the file. (This was built on linux and has not been tested on other devices)
./a.out

Java Script

You can directly visit the vedabahu.github.io/mancala_js website to play it online.

  • This repo uses pnpm package manager.
  • Clone the repo.
  • Run this:
cd mancala_solid_js
pnpm i 
pnpm run dev
  • This will spin a development server at http://localhost:3000.

Credits

This was a group project. It was possible thanks to the efforts of

About

Mancala game with AI

Topics

Resources

Stars

Watchers

Forks

Contributors