Asteroid Racers is a multiplayer browser game that lets you race against other players with your spaceship in the weightlessness of outer space.
- Download the Dart SDK: https://www.dartlang.org/downloads/
- Clone the Asteroid-Racers repo
- pub get
- pub build
For Linux servers:
apt-get update
apt-get install git
apt-get install apt-transport-https curl
sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
apt-get update
apt-get install dart
git clone https://github.com/BitAlchemists/Asteroid-Racers.git
cd Asteroid-Racers/
/usr/lib/dart/bin/pub get
/usr/lib/dart/bin/pub build
There are two ways to test the client locally.
- The server runs within the browser:
- run web/asteroidracers_singleplayer.html
- The server runs as a dedicated application:
- to run the server: dart bin/run_server.dart
- to run the client: open localhost:1337 in your browser OR run web/asteroidracers.html
For details visit the wiki: https://github.com/BitAlchemists/Asteroid-Racers/wiki