]> git.cworth.org Git - empires-api/log
empires-api
3 years agoAdd a version indication to the protocol description
Carl Worth [Sun, 10 May 2020 16:53:16 +0000 (09:53 -0700)]
Add a version indication to the protocol description

Starting with version 0.3 since there have been a couple of previosu
versions, (but also less than 1.0 since we haven't yet implemented a
functional game).

3 years agoDocument the new /events API endpoint
Carl Worth [Sun, 10 May 2020 16:51:24 +0000 (09:51 -0700)]
Document the new /events API endpoint

This is a server-sent events stream which should be very convenient
for implementing the desired semantics of the game. For example, this
stream will allow the server to push out each character name to all
clients dur the phase of the game where characters are revealed
(without requiring clients to poll for characters nor agree on the
timing for displaying them).

3 years agoIndicate that sample game API is now at https://families.cworth.org/api/
Carl Worth [Sat, 9 May 2020 22:14:28 +0000 (15:14 -0700)]
Indicate that sample game API is now at https://families.cworth.org/api/

We added an API suffix so that we could serve the client HTML from the
root.

3 years agoImplement a few changes after an initial implementation
Carl Worth [Sun, 3 May 2020 02:22:19 +0000 (19:22 -0700)]
Implement a few changes after an initial implementation

Specifically, we change the following:

  * Rename /escape/ to /liberate

  * Rename the "captured" json field to "captures"

  * Drop the /players/<id> API

3 years agoSpecify an initial REST API for playing a game of Empires
Carl Worth [Sat, 2 May 2020 15:04:31 +0000 (08:04 -0700)]
Specify an initial REST API for playing a game of Empires

This is an initial draft which is hopefully adequate for playing a
game. At this point we haven't implemented this on either client or
server side so we anticipate revisiting this after we implement and
learn any deficiences.

Thanks to Kevin Worth for designing this with me today.

3 years agoInitial commit with a README file
Carl Worth [Sat, 2 May 2020 15:03:13 +0000 (08:03 -0700)]
Initial commit with a README file

Giving a brief introduction to the game of Empires and why we are
motivated to design a client-server API for a party game that normally
requires almost no equipment. (Hint: It's about making this work when
not all players can be physically present in the same space.)