RaananaTiraProject

game


Keywords
education, game, html5, javascript, opensource, python, self-driving-car, twisted
License
GPL-2.0
Install
pip install RaananaTiraProject==1.0

Documentation

ROSE Project
==================

Requirements
------------

* python-twisted
* pygame
* py.test (for development)


Running the game
----------------

Start the server on some machine:

    ./rose-server

Start up to 2 clients:

    ./rose-client mydriver.py

For drive modules, see the examples direcotory.

To start a race, use rose-admin tool on any machine:

    ./rose-admin <server-address> start

To stop a race, use rose-admin tool on any machine:

    ./rose-admin <server-address> stop

To modify the game rate, you can use set-rate command. The following command
would change game rate to 10 frames per second:

    ./rose-admin <server-address> set-rate 10


Creating a tarball
------------------

    python setup.py sdist


Developing
----------

Before submitting patches, please run the tests:

    py.test -v

Checking coverage:

    py.test --cov rose --cov-report html
    xdg-open htmlcov/index.html