Skip to content

Fast-paced hot seat multiplayer game written in modern JavaScript.

License

Notifications You must be signed in to change notification settings

crisu83/ctf-game

Repository files navigation

Capture the flag (working title)

Build Status Code Climate GitHub version

Fast-paced hot seat multiplayer game written in modern JavaScript.

Screenshot

Concept in a nutshell

  • Players automatically join the weakest of four teams (each team has its own color)
  • The idea is to tag flags for your team by running over them while kill enemy players
  • Players receive points during the match based on how many flags their team has tagged

Built with

This experiment mixes some of the most popular JavaScript tools.

Checklist

This is my TODO list and also the road map for this project.

  • Game server and client
  • Client to server communication
  • Create player on the server
  • Send game state to clients
  • Create entities from state
  • Load spritesheets in clients
  • Update game logic from state
  • Send player actions to server
  • Read assets and tilemap on the server
  • Send game data to clients
  • Load assets and tilemap in clients
  • Render tilemap
  • Collision detection
  • Basic physics
  • Teams and points
  • Game logic
  • Fine-tuning

Development

Run the following commands to start the development server:

npm install
npm run start:dev

Alternatively you can run the production server with:

NODE_ENV=production npm build
NODE_ENV=production npm start

Running tests

Run the following command to run the test suite:

npm test

Contributing

This project is under active development, so I am not actively looking for contributors. However once the first version is ready I will add instructions for how to contribute.

License

See LICENSE.

About

Fast-paced hot seat multiplayer game written in modern JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published