This repository contains game data and art assets for the games participating in today's Hackathon.
Can I create something for a game that is not represented here?
Absolutely.
What dimensions should a Rune be?
Landscape: 1200 x 675
Portrait: 675 x 1200
Red Queen's Rune Development Kit (RDK) is a growing framework based on React and Redux.
For today's event, we have provided early access to an API actively under development. Slate API is designed to help Runecrafters handle things like storing user sessions in the cloud, and creating shareable pieces of content for creating rich experiences.
POST https://api.redqueen.us/v1/slate
{
"runeId": "0790609d-45b0-40b5-982c-521ca5526548",
"ownerId": "eacbb5f2-f7ea-11e6-a0b7-1218132fb5f0",
"data": "{\"someKey\": \"Some value.\"}",
"isPublic": true
}
Note: data
is a stringified JSON object, not a raw JSON object.
POST https://api.redqueen.us/v1/counter
{
"runeId": "0790609d-45b0-40b5-982c-521ca5526548",
"eventName": "MY_EVENT",
"config": "{\"onlyMostRecent\": true}"
}
Note: config
is a stringified JSON object, not a raw JSON object.
POST https://api.redqueen.us/v1/event
{
"runeId": "0790609d-45b0-40b5-982c-521ca5526548",
"eventName": "MY_EVENT",
"slateId": "deccdde8-2728-4479-9784-a93b8713ce24",
"ownerId": "eacbb5f2-f7ea-11e6-a0b7-1218132fb5f0",
"value": "{\"content\": \"This could be a sample comment.\"}",
"isMostRecent": true
}
Note: value
is a stringified JSON object, not a raw JSON object.
PUT https://api.redqueen.us/v1/session/{runeId}/{userId}
{
"runeId": "0790609d-45b0-40b5-982c-521ca5526548",
"ownerId": "eacbb5f2-f7ea-11e6-a0b7-1218132fb5f0",
"data": "{\"someKey\": \"Some value.\"}",
"isPublic": true
}
Note: data
is a stringified JSON object, not a raw JSON object.
GET https://api.redqueen.us/v1/session/{runeId}/{userId}
GET https://api.redqueen.us/v1/slate/{slateId}
GET https://api.redqueen.us/v1/slates/{runeId}/{limit}?skip=n
GET https://api.redqueen.us/v1/events/{slateId}/{eventName}
GET https://api.redqueen.us/v1/events/{slateId}/{eventName}/count