ROSE game web based graphical user interface.
This component implement a web based graphical user interface for the ROSE game.
ROSE project: https://github.com/RedHat-Israel/ROSE
Requires | Version | |
---|---|---|
Podman (or Docker) | >= 4.8 | For running containerized |
Node | >= 20 | For running the code loally |
Component | Reference |
---|---|
Game engine | https://github.com/RedHat-Israel/rose-game-engine |
Game web based user interface | https://github.com/RedHat-Israel/rose-game-web-ui |
Game car driving module | https://github.com/RedHat-Israel/rose-game-ai |
Clone this repository, and make sure you have a game engine running.
Run the user interface:
# Get help
npm start -- --help
# Run the server (connect to a game engine running on http://127.0.0.1:8880)
npm start -- -hp http://127.0.0.1:8880 -wp ws://127.0.0.1:8880 -p 8080
Running the game engine ( on http://127.0.0.1:8880 )
podman run --rm --network host -it quay.io/rose/rose-game-engine:latest
Running the game web based user interface ( on http://127.0.0.1:8080 )
podman run --rm --network host -it quay.io/rose/rose-game-web-ui:latest
Running your self driving module, requires a local driver.py
file with your driving module. ( on http://127.0.0.1:8081 )
# NOTE: will mount mydriver.py from local directory into the container file system
podman run --rm --network host -it \
-v $(pwd)/mydriver.py:/mydriver.py:z \
-e DRIVER /mydriver.py \
quay.io/rose/rose-game-ai:latest