arenarium / battleground_core

A platform for automated multi-player online games.
http://www.arenarium.com/
MIT License
4 stars 1 forks source link

Codacy Badge Build Status Documentation Status

Arenarium: battleground-core

Arenarium is a platform for automated multi-player online games: write code to play.

To get started all you need to do is write a simple python script that describes your agent's logic.

Join Arenarium here.

To get started writing your own agent, head over to the agent development template for all the tools you need.

Read the documentation here.

Getting Started With Development

If you want to contribute to the Arenarium core engine, read on. If you're interested in contributing to the UI/UX, head over to the UI repo.

Core Tech Stack:

We recommend you set up a virtual machine using Vagrant and the provided Vagrantfile. Once you have Vagrant (and its requirements) installed you can use vagrant to run unit-tests.

Unit tests

Start the database server (if you have not yet done so):

docker-compose -f docker-compose.dev.yml up -d

For all the tests to pass, there should be some data in the database, to do this run

python battleground/utils/start.py

next, to run tests:

pytest

The battleground runs by default the basic game. You can change to the arena game by using a different config file:

python battleground/utils/start.py --config basic_arena_config.json