Skip to content

Commit

Permalink
Merge pull request #142 from SeawolvesAtCali/single-room
Browse files Browse the repository at this point in the history
Added support for single room mode. Server is default to host one room only and user's join request will join this room. Changed tictactoe server/client to single room mode.
  • Loading branch information
yiochen authored Mar 12, 2022
2 parents 1926b1e + a3d9618 commit df40a3e
Show file tree
Hide file tree
Showing 167 changed files with 7,897 additions and 8,448 deletions.
19 changes: 13 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,23 @@
"version": "0.2.0",
"configurations": [
{
"type": "node",
"name": "tic-tac-toe",
"request": "launch",
"runtimeArgs": ["run-script", "start:tic-tac-toe-server"],
"runtimeExecutable": "npm",
"skipFiles": ["<node_internals>/**"],
"type": "pwa-node"
},
{
"type": "pwa-node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["${relativeFile}"],
"runtimeArgs": ["jest", "${fileBasename}"],
"runtimeExecutable": "npx",
"skipFiles": ["<node_internals>/**"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
"cwd": "${fileDirname}"
}
]
}
10 changes: 5 additions & 5 deletions common/config/rush/browser-approved-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
{
"name": "@prisel/state",
"allowedCategories": [ "prototype" ]
"allowedCategories": [ "production", "prototype" ]
},
{
"name": "@protobuf-ts/plugin",
Expand Down Expand Up @@ -96,7 +96,7 @@
},
{
"name": "@types/lodash",
"allowedCategories": [ "production", "tools" ]
"allowedCategories": [ "production", "prototype", "tools" ]
},
{
"name": "@types/long",
Expand All @@ -112,15 +112,15 @@
},
{
"name": "@types/prismjs",
"allowedCategories": [ "tools" ]
"allowedCategories": [ "prototype", "tools" ]
},
{
"name": "@types/react",
"allowedCategories": [ "tools" ]
"allowedCategories": [ "prototype", "tools" ]
},
{
"name": "@types/react-dom",
"allowedCategories": [ "tools" ]
"allowedCategories": [ "prototype", "tools" ]
},
{
"name": "@types/shortid",
Expand Down
Loading

0 comments on commit df40a3e

Please sign in to comment.