diff --git a/README.md b/README.md index d6df9d2..575bb84 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,14 @@ or npm start [PORT] ``` +or + +``` +npm install --global git+https://jessemcdonald.info/gogs/nybble/paco_sako.git + +paco-sako-server [PORT] +``` + ## Environment Variables ### `OPENSHIFT_NODEJS_PORT`, `VCAP_APP_PORT`, or `PORT` @@ -54,7 +62,7 @@ with some or all of the following fields: * `status`: String. A short string which describes the current state of the game, for example the current player if the game is ongoing or the winner otherwise. - This string appers in the game selection list. + This string appears in the game selection list. * `timestamp`: Integer. The UTC time in milliseconds of the most recent move. Typically the same as the `timestamp` metadata for the last move in `board.past`, @@ -95,7 +103,7 @@ A game is considered "active" if the `timestamp` field indicates that either the game was started or the last move was played within the past two weeks according to the server's clock. The successful JSON response consists of two fields, -`games` which is an array of game objectsi +`games` which is an array of game objects in descending order by their `timestamp` fields, and `modified` which is the maximum value of the `modified` fields of all of the games in the `games` array,