Last active
December 6, 2017 14:22
-
-
Save chris-held/20a519d9641e090e2a49159d6004ff49 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let game = { | |
| name: 'Zymo Death Match', | |
| location: {lat: 41.342345, lng: 83.1231}, //starting location, used to determine who sees this game in the lobby | |
| startTime: 'Wed Dec 06 2017 07:18:50 GMT-0600 (CST)', | |
| coordinates: [ | |
| {lat: 41.93234, lng: 83.898}, | |
| {lat: 41.24324, lng: 83.89898}, | |
| {lat: 41.24327, lng: 83.89888}, | |
| ], | |
| shrinkRate: 100, //time in seconds | |
| health: 200, //starting health | |
| duration: 500, //game duration in seconds | |
| hideRemaining: true, //hide number of players remaining? | |
| outbounds: 'off', //can be off, dangerous or relaxed. Probably changes the damage from being out of bounds? | |
| items: [ | |
| { | |
| type: 'ammo' , //this will be part of an enumeration: ammo, medpack, weapon, maybe some others? | |
| item: {/*specific item information here*/}, //store the actual item's stats here | |
| location: {lat: 41.8967, lng: 83.8970987}, //where to put the item | |
| spawnTime: 0, //when to spawn it relative to when the game starts (in seconds) | |
| }, | |
| { | |
| type: 'medpack' , | |
| item: {/*specific item information here*/}, | |
| location: {lat: 41.8967, lng: 83.8970987}, | |
| spawnTime: 40, | |
| }, | |
| { | |
| type: 'weapon' , | |
| item: {/*specific item information here*/}, | |
| location: {lat: 41.8967, lng: 83.8970987}, | |
| spawnTime: 100, | |
| }, | |
| ] | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment