Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/university-experience/nim-game

AI project using minimax (alpha-beta) algorithm applied using javascript with nodejs & express
https://github.com/university-experience/nim-game

ai artificial-intelligence express javascript nodejs

Last synced: 1 day ago
JSON representation

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

Awesome Lists containing this project

README

        







![GitHub repo size](https://img.shields.io/github/repo-size/BaraSedih11/nim-game)
![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/BaraSedih11/nim-game)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/BaraSedih11/nim-game/main)
[![Version](https://img.shields.io/badge/version-v1.0.0-blue)](https://github.com/BaraSedih/nim-game/releases/tag/v1.0.0)
[![Contributors](https://img.shields.io/github/contributors/BaraSedih11/nim-game)](https://github.com/BaraSedih11/nim-game/graphs/contributors)
![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/BaraSedih11/nim-game)

# 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
```

2. Navigate to the project directory:
```
cd nim-game
```

3. 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](https://github.com/BaraSedih11/nim-game/assets/98843912/11c2d5a5-3d0e-44b2-97e0-302204dfb9db)](https://drive.google.com/file/d/1ST1L9sIJvITgllFJKSZAhypuBdtCbZMX/view?usp=sharing)

Happy gaming! 🎮