Skip to content

Instantly share code, notes, and snippets.

@kriskowal
Created October 16, 2022 04:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kriskowal/3e7ce7bde6654df5f0ab7c27c5ea488c to your computer and use it in GitHub Desktop.
Save kriskowal/3e7ce7bde6654df5f0ab7c27c5ea488c to your computer and use it in GitHub Desktop.
{
"colors": {
"darkBlue": "#61B2E4",
"darkRed": "#D22F27",
"darkGreen": "#5C9E31",
"lightPurple": "#B399C8"
},
"levels": [
{
"topology": "torus",
"chunksPerLevel": {
"x": 3,
"y": 3
},
"tilesPerChunk": {
"x": 3,
"y": 3
},
"colors": {
"base": "darkGreen",
"earth": "darkGreen",
"water": "darkBlue",
"lava": "darkRed"
}
},
{
"topology": "rect",
"size": {
"x": 5,
"y": 5
},
"colors": {
"base": "lightPurple",
"earth": "lightPurple",
"water": "darkBlue",
"lava": "darkRed"
}
}
],
"mechanics": {
"agentTypes": [
{ "name": "player" },
{ "name": "ladder" },
{ "name": "chute" }
],
"tileTypes": [
{ "name": "player", "text": "🙂" },
{ "name": "ladder", "text": "🪜" },
{ "name": "chute", "text": "🛝" }
],
"actions": [
{
"patient": "ladder",
"verb": "jump",
"dialog": "🪜 Up you go!"
},
{
"patient": "chute",
"verb": "jump",
"dialog": "🛝 Down you go!"
}
]
},
"player": 0,
"locations": [5, 6, 93],
"types": [3, 4, 5],
"healths": [
{
"entity": 0,
"health": 5
}
],
"staminas": [
{
"entity": 0,
"stamina": 5
}
],
"entityTargetLocations": [
{
"entity": 1,
"location": 94
},
{
"entity": 2,
"location": 5
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment