Git Product home page Git Product logo

core-link's Introduction

Core Link!

A Procedural Clicker Game at MINNEHACKS

Get fleet by name - GET /fleet?name=<fleet_name> - returns the fleet data

Get fleet - GET /fleet/:id

Create a fleet and user - GET /fleet/new?name=<fleet_name> - returns the fleet

Add value to resource - GET /fleet/:id/add_resource?type=&amount=

Add a ship - GET /fleet/:id/add_ship?type= - returns the fleet

Update fleet - POST /fleet/:id/update - gimme all dat sweet fleet data - returns the fleet

Upgrade fleet - GET /fleet/:id/upgrade/:upgrade_id - returns the fleet

Get a ship - GET /fleet/:id/ships/:position - returns the ship (position is the numeric position of the ship in the ships array)

Get all ships - GET /fleet/:id/ships/ - returns array of ships

Upgrade a ship - GET /fleet/:id/ships/:position/upgrade/:id - returns the fleet

Add a harvester to a ship - GET /fleet/:id/ships/:position/add_harvester - returns the fleet

Create a planet - GET /planet/new - optional params: > boolean connect - determines if the planet can connect to others > int size_mod - increase chances of bigger planets - returns the planet

Get a planet - GET /planet/:id -returns the planet

Get fleet upgrades - GET /upgrades/fleet - returns full json of fleet upgrades

Get planet upgrades - GET /upgrades/planet -json of planet upgrades

Get ship upgrades - GET /upgrades/ship -json of ship upgrades

Get ship upgrade ids of a resource - GET /upgrades/ship/find/:resource -returns a json object with ids

Get planet upgrade ids of a resource - GET /upgrades/planet/find/:resource -returns a json object with ids

Get fleet upgrade ids of a resource - GET /upgrades/fleet/find/:resource -returns a json object with ids

New ship/planet/fleet upgrade - POST /upgrades/<ship/planet/fleet> - data:{"name":"Reaserch","cost_multiplier":0,"cost":{"copper":1000,"aluminum":100,"uranium":10},"desc":"Increase your tech level!","result":{"tech":1},"result_multiplier":1} - returns json of upgrade with id.

core-link's People

Stargazers

Ambrosia Developments avatar

Watchers

Luke Geiken avatar Garret Meier avatar

core-link's Issues

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.