Elso is electronic football game using vehicles. ELSO stands for Electric Lightning Soccer Overdrive.
src/python/main.py
is the main one. Where the program should start and finish.First, one should download the repository informations. If you already have it set in your machine, you can skip to environment creating/updating.
$ git clone git@github.com:nocontrolco/elso.git
Here are the instructions for creating the development environment using miniconda:
$ wget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.1.0-1-Linux-x86_64.sh
$ sh Miniconda3-py310_23.1.0-1-Linux-x86_64.sh
$ conda config --set auto_activate_base true
$ conda env create --file environment.yml
$ conda activate elso
If you already have the conda elso environment created in your maching, it is enough to just run conda env update --file environment.yml --prune
, so the packages will be updated/installed.
Here are the instructions for building up the project and run the tests
$ mkdir build
$ cd build
$ cmake ..
$ cmake --build . --config Release --target all -- -j 10
$ cd ~/Reps/elso/build/tests/cpp
$ ctest -V --output-on-failure
$ pytest ../tests/python -v
For debugging/developing (locally), it's recommended that you run cmake build with --config Debug
.
fb-ELSO-<issue_number>-<developer>-<keywords>
ELSO-<issue_number>:
before the titleELSO-<issue_number>
in its message, to ensure one can easily map it back to the issue--fixup
, e.g. git commit --fixup HEAD
, to facilitate rebase/squash prior to mergingclang-format -i <file>s
.