Skip to content

AI project using minimax (alpha-beta) algorithm applied using javascript with nodejs & express

Notifications You must be signed in to change notification settings

University-Experience/nim-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



GitHub repo size GitHub repo file count (file type) GitHub last commit (branch) Version Contributors GitHub pull requests

Nim Game

Welcome to the Nim Game repository! This is a simple implementation of the classic game of Nim.

Description

Nim is a two-player game where players take turns removing objects (such as stones or sticks) from a pile. The player who removes the last object wins. The rules can vary, but the basic idea remains the same.

How to Play

  1. Start with a pile of objects (e.g., stones).
  2. Players take turns removing 1 or more objects from the pile.
  3. The player who removes the last object wins.

Installation

No installation is required for this simple text-based game. Just clone the repository and run the game!

Usage

  1. Clone this repository:
git clone https://github.com/BaraSedih11/nim-game.git
  1. Navigate to the project directory:
cd nim-game
  1. Run the game:
node app.js

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

Contact

For any inquiries or issues regarding the project, feel free to contact the project owner: BaraSedih11.

Demo Video

Demo Video

Happy gaming! 🎮

About

AI project using minimax (alpha-beta) algorithm applied using javascript with nodejs & express

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published