Skip to content

The WS & Typescript-powered server-side code for CardForge v1, that we completed at TritonHacks

Notifications You must be signed in to change notification settings

cardforge-game/cardforge-server-v1

Repository files navigation

CardForge Server

Devpost

⚔️ Usage

npm start

Structure

  • index.ts: main entry point, register an empty room handler and attach @colyseus/monitor
  • src/rooms/MyRoom.ts: an empty room handler for you to implement your logic
  • src/rooms/schema/MyRoomState.ts: an empty schema used on your room's state.
  • loadtest/example.ts: scriptable client for the loadtest tool (see npm run loadtest)
  • package.json:
    • scripts:
      • npm start: runs ts-node-dev index.ts
      • npm run loadtest: runs the @colyseus/loadtest tool for testing the connection, using the loadtest/example.ts script.
  • tsconfig.json: TypeScript configuration file

About

The WS & Typescript-powered server-side code for CardForge v1, that we completed at TritonHacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published