-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated README for new makefile #195 #197
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,11 @@ See [examples/README](examples/README) for explanation on how to write a driver | |
|
||
## Requirements | ||
|
||
To install the dependencies, run: | ||
Installing dependencies using Makefile, | ||
|
||
make init | ||
|
||
Alternatively, To install the dependencies, run: | ||
|
||
pipenv install | ||
|
||
|
@@ -40,14 +44,23 @@ You can also install packages from your distribution. | |
|
||
## Running the game | ||
|
||
Start the server on some machine: | ||
Run the game using Makefile with the command, | ||
|
||
make server | ||
|
||
|
||
Alternatively, Start the server on some machine: | ||
|
||
./rose-server | ||
|
||
Open a browser at http://\<server-address\>:8880 to view and control the game. | ||
|
||
Start up to 2 clients: | ||
|
||
make client | ||
|
||
Or alternatively, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Having alternatives for everything is confusing. We should have one simple way that works for everyone. |
||
|
||
./rose-client mydriver.py | ||
|
||
For driver modules, see the examples directory. | ||
|
@@ -57,6 +70,9 @@ Command line interface | |
---------------------- | ||
|
||
You can control the game from the command line using the rose-admin tool. | ||
|
||
make admin | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same issue, a server address is needed, and then a command (e.g. start) with optional arguments (e.g set-rate 5) |
||
|
||
|
||
To start a race, use rose-admin tool on any machine: | ||
|
||
|
@@ -81,6 +97,10 @@ would change game rate to 10 frames per second: | |
|
||
Before submitting patches, please run the tests: | ||
|
||
make test | ||
|
||
Or alternatively, | ||
|
||
pytest | ||
|
||
Creating coverage report in html format: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately this does not work - the client needs a driver module argument.
I think we need to remove the makefile instead of updating the readme. It helps only with the initial setup, and using a makefile breaks compatibility on windows.