RESTwars
An online game (like the good old browsergames) which can be played via a REST interface.
- Build RESTwars from source and get it running
- Contributing
- Webservice documentation
- Write a bot
- Changelog
Universe
The game takes place in a universe. The universe consists of galaxies which consist of solar systems which consist of planets.
Each planet is identified with a set of coordinates: [g].[s].[p]
where [g]
is the number of the galaxy, [s]
is the number of the solar system inside the galaxy and [p]
is the number of the planet inside the solar system.
New players
New players start with one planet in a randomized location in the universe.
Resources
Crystal
Crystal is needed for every building, ship and research. Crystals can be stolen from attackers.
Gas
Gas is needed for every advanced technology. Gas can be stolen from attackers.
Energy
Energy is needed for every building, ship and research. Energy is also consumed when traveling with ships through the universe. Energy can't be stolen from attackers.
Buildings
Command center
Allows the construction of other buildings. Upgrading the command center speeds up the construction of buildings.
Crystal mine
Generates crystals. Upgrading the mine increases the generation rate.
Gas refinery
Generates gas. Upgrading the refinery increases the generation rate.
Solar panels
Generates energy. Upgrading the panels increases the generation rate.
Shipyard
Allows the construction of ships. Upgrading the shipyard speeds up the construction of ships.
Research center
Enables research of technologies. Upgrading the research center speeds up the research.
Telescope
Enables scanning the area around the planet. Upgrading the telescope widens the scan area and increases the range and accuracy of incoming enemy fleet detection.
Ships
Mosquito
Small and cheap fighter ship.
Dagger
Very fast fighter ship.
Colony
Colonizes planets.
Probe
Fast and cheap scout.
Mule
Freighter.
Daedalus
Sophisticated fighter ship.
Technology
Build cost reduction
Reduces the build cost for buildings.
Combustion engine
Reduces the flight cost for ships with combustion engines.