ghmeier / core-link

A procedurally generated multiplayer incremental game.

Home Page:http://core-link.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A procedurally generated multiplayer incremental game.

http://core-link.herokuapp.com

License:MIT License


Languages

Language:JavaScript 98.6%Language:Shell 1.4%