Static
endGame
removes game when finished redundant? maybe
Input: host id, client id Output: boolean isSuccessful
Find Game
takes a single id and searches for the save file
Input: id, game pgn Ouput: string file name
loadGame
Locates and returns save based on id
Input: id Output: iSave
removeOld
Searches through saves, removing ones older than 3 hours
saveGame
Finds or creates a save file Save name is host id + client id Saves include the game start time and save fen as json Robots are saved as a map of indices to robots Input: host id, client id, game fen, robots Output: boolean competed
Generated using TypeDoc
endGame
removes game when finished redundant? maybe
Input: host id, client id Output: boolean isSuccessful