Commit graph

  • 1380a7919b Update/add file headers for documentation purposes Oliver-Akins 2020-09-30 23:49:10 -06:00
  • d204378ea5 Add some type information for events that are sent to the client. Oliver-Akins 2020-09-30 23:48:23 -06:00
  • 1063126164 Add interfaces for each event's data Oliver-Akins 2020-09-30 23:10:35 -06:00
  • cfb915724f begin work on method to create a Game object from JSON Oliver-Akins 2020-09-29 22:58:33 -06:00
  • cb492fd275 Create method to convert Game objects to JSON Oliver-Akins 2020-09-29 22:58:11 -06:00
  • c2e28ce14b Add event listeners for cleanup Oliver-Akins 2020-09-29 22:57:48 -06:00
  • 729f6b7cd5 Add function to clean up and save the games to disk on exit Oliver-Akins 2020-09-29 22:57:33 -06:00
  • 7696de2284 Add data for storing the game objects and JSON data on exit Oliver-Akins 2020-09-29 22:57:09 -06:00
  • 4f00510401 Update import order Oliver-Akins 2020-09-29 17:20:02 -06:00
  • b0117ed6fe Add toString override for debugging purposes. Oliver-Akins 2020-09-29 17:07:28 -06:00
  • 661f52292e Initial game class. Oliver-Akins 2020-09-29 16:39:52 -06:00
  • 169105f400 Add type alias for the players object. Oliver-Akins 2020-09-29 16:39:35 -06:00
  • 549383b529 Allow role to be undefined. Oliver-Akins 2020-09-29 16:34:31 -06:00
  • 814c291443 Update player object and example JSON Oliver-Akins 2020-09-29 16:33:01 -06:00
  • 76cf2e0686 Target ES2020 for compilation Oliver-Akins 2020-09-29 16:29:24 -06:00
  • accc992b0b Add database folder to gitignore (allow example file) Oliver-Akins 2020-09-28 23:10:52 -06:00
  • 49d401a7bc Add example database. Oliver-Akins 2020-09-28 23:10:34 -06:00
  • e321f33a69 Add basic command handlers for all current events Oliver-Akins 2020-09-28 23:09:16 -06:00
  • 98d4c25e7e Update tsconfig Oliver-Akins 2020-09-28 23:08:49 -06:00
  • b3c0dfbddf Update package.json and lock file Oliver-Akins 2020-09-28 23:08:38 -06:00
  • 6b1e95e800 Add code to handle socket connections and listen for events Oliver-Akins 2020-09-28 23:07:57 -06:00
  • 44782f3e85 Add utility to generate a random game code. Oliver-Akins 2020-09-28 23:07:19 -06:00
  • de8b4a1b62 Add database module Oliver-Akins 2020-09-28 23:06:51 -06:00
  • 5c386eb416 Add database types Oliver-Akins 2020-09-28 23:06:33 -06:00
  • a1058444a9 Add request datatypes for hosting and joining a game Oliver-Akins 2020-09-28 23:06:19 -06:00
  • 8a9adb21f0 Add code to handle the HostGame event Oliver-Akins 2020-09-28 23:05:43 -06:00
  • 11c671ef25 Add function to handle the request for the player list. Oliver-Akins 2020-09-28 23:05:22 -06:00
  • 4ac0fb2833 Add documentation relating to the event information Oliver-Akins 2020-09-20 22:00:46 -06:00
  • 8a1facf59d Add package, pnpm lock, and tsconfig. Oliver-Akins 2020-09-20 22:00:27 -06:00
  • 69ec651f6d Initialize typescript files. Oliver-Akins 2020-09-20 21:59:50 -06:00
  • 85e22dd4d9
    Initial commit Oliver 2020-09-19 21:34:16 -06:00