Add documentation for local/session storage keys

This commit is contained in:
Oliver-Akins 2020-09-28 22:31:46 -06:00
parent b1ce9ebea9
commit 82140af56d

6
BrowserStorage.md Normal file
View file

@ -0,0 +1,6 @@
This document details the data stored in localStorage and sessionStorage of the browser.
| Key | Data Type | Description
| --------- | --------- | -------------
| game-code | String | The current game code the player is in, if this is not set, then they are not in a game
| is-host | Boolean | If the player is the host of the game or not.