Giter VIP home page Giter VIP logo

restwars-kotlin's Introduction

RESTwars

Running

  1. ./gradlew clean run
  2. Open browser at http://localhost:7777/v1/restwars

Building the documentation

  1. Install asciidoc
  2. cd doc/
  3. asciidoc Webservice.adoc && asciidoc RESTwars.adoc
  4. Open RESTwars.html and Webservice.html in browser

Building a distribution

  1. Run ./gradlew clean build distTar
  2. Check build/distributions/

Run with docker

  1. docker run -itp 7777:7777 docker.io/phxql/restwars
  2. Open browser at http://localhost:7777/v1/restwars

restwars-kotlin's People

Contributors

phxql avatar vlow avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

vlow

restwars-kotlin's Issues

Naming inconsistency

client.listBuildings(coords) => BuildingsResponse client.listConstructionSites(coords)) => ConstructionSitesResponse client.listShipsInConstruction(coords)) => ShipsInConstructionResponse

client.listShipsInHangar(coords) => ShipsResponse

Should be ShipsInHangerResponse.

Combat system is broken

10 mostquitos vs 13 mosquitos result in both sides being completely destroyed.

This is due to the fact that one mosquito has firepower to destroy 14. Probably one mosquito should only kill one ship at most. (this problem needs verification)

Mules are too expensive

Idee from Dom:

Ship Crystal Gas Energy Time AP DP Cargo
Mule 150 200 350 15 5 30 750
Mosquito 100 50 250 10 14 10 100
Colony 600 300 2400 115 0 75 500

Implement endpoint to get information about player planets

From Dom:

It would be great if you can include following data to the endpoint:

/v1/planet
/v1/planet/:location/building
/v1/planet/:location/construction-site
/v1/planet/:location/hangar
/v1/planet/:location/shipyard
This would make my life much easier!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.