Getting Started¶
Gamms is a library designed to simulate adversial games in a graph based world. This guide will help you quickly install and set up Gamms so you can start experimenting as soon as possible.
Python Requierement¶
Gamms requires Python 3.9 or later. If you already have a suitable version installed, skip to Installation and Setup.
Otherwise, visit the official Python download page to install a compatible version for your device (Windows, Mac, or Linux): Python
Installation and Setup¶
Before installing Gamms, ensure that pip is installed. Most Python distributions include pip by default; if you need to install it separately, follow the instructions on the pip documentation page.
Once pip is set up, use the appropriate commands below for your operating system.
Installing Git¶
sudo apt-get install git wget
(Debian/Ubuntu)sudo dnf install git wget
(Fedora)sudo pacman -S git wget
(Arch)
Local Setup¶
Create a new folder in the directory where you want your project to live. We'll name it gamms
:
python
or python3
, depending on your system:
This command will create a subfolder named venv
that contains your virtual environment files.
Activate the virtual environment:
Install Gamms within the virtual environment:
Verify your installation:
Once these steps are completed, you will have Gamms installed in a clean virtual environment. Remember to activate the virtual environment (step 3) whenever you want to work on your project.