Players can join the Seekers Game in two ways:
1. as gRPC clients (new and safe way)
2. as a local file whose decide
-function is called directly from within the game (old and unsafe way)
* This is discouraged as it allows players to access the game's internals and cheat. See this issue.
* useful for debugging/AI-developement
requirements.txt
. python -m venv venv
source venv/bin/activate
(Linux) or venv\Scripts\activate
(Windows)python -m pip install -r requirements.txt
alternatively:
pip install -r requirements.txt
Depending on how you installed python, you might have to use py
or python3
instead of python
.
This will:
* start a Seekers Game
* run a gRPC server by default
python run_seekers.py <AI files>
⚠ You will need a separate server running. This can be the server above, or, for example, the Java implementation.
python run_client.py <AI file>
After cloning, you need to compile the gRPC stubs manually.
cd seekers/grpc
pip install -r requirements-dev.txt
./compile_protos.sh
You can, and are invited to, use, redistribute and modify seekers under the terms
of the GNU General Public License (GPL), version 3 or (at your option) any
later version published by the Free Software Foundation.