aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2021-05-07 21:57:20 -0500
committerAnthony Wang2021-05-07 21:57:20 -0500
commitc68418252eae1ea2ae8c71c97c298361542075f0 (patch)
tree0df37c33f72b863052a444ec6a10ef38542951c1
parentd1c0d54c40b11c44c7531911bec37ebbe550d33e (diff)
Add more info on round 0
-rw-r--r--back/src/server.ts2
-rw-r--r--front/pages/index.tsx1
2 files changed, 2 insertions, 1 deletions
diff --git a/back/src/server.ts b/back/src/server.ts
index ac3ed70..fca32d1 100644
--- a/back/src/server.ts
+++ b/back/src/server.ts
@@ -3,7 +3,7 @@ import http from 'http';
import https from 'https';
import {Server} from 'socket.io';
-//export default new Server({cors: {origin: process.env.ORIGIN, methods: ['GET', 'POST']}});
+// export default new Server({cors: {origin: process.env.ORIGIN, methods: ['GET', 'POST']}});
const base = process.env.SSL_KEY && process.env.SSL_CERT && process.env.SSL_CA ? https.createServer({
"key": fs.readFileSync(process.env.SSL_KEY),
diff --git a/front/pages/index.tsx b/front/pages/index.tsx
index 4bb154d..bae7955 100644
--- a/front/pages/index.tsx
+++ b/front/pages/index.tsx
@@ -122,6 +122,7 @@ export default function Game() {
</li>
))}
</ul>
+ {gameState.playerTurn+` will go first this round!`}
{`Rearrange your card stack from top to bottom!`}
<div>
<p>Your cards:</p>