A Python implementation of the classic two-player game of Nim. The game consists of three piles of balls and two players. Players take turns removing any number of balls from one pile. The player who removes the last ball wins the game.
To get started with the project, simply clone the repository to your local machine:
To get started with the project, simply clone the repository to your local machine:
$ git clone https://github.com/AndrewMaged814/Game-of-Nim.git
This code requires the Pillow library to generate images. You can install it using the following command:
$ pip install Pillow
You can run the code by navigating to the project directory and executing the following command:
$ python nim.py