summaryrefslogtreecommitdiff
path: root/server/src/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/constants.ts')
-rw-r--r--server/src/constants.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/constants.ts b/server/src/constants.ts
new file mode 100644
index 0000000..a2b3d12
--- /dev/null
+++ b/server/src/constants.ts
@@ -0,0 +1,6 @@
+export namespace Constants {
+ export const SERVER_PORT = 8080;
+ export const SERVER_TICK_RATE = (1 / 60) * 1000;
+ export const GAME_TOPIC = 'game';
+ export const MAX_PLAYERS = 8;
+}