Fast-paced hot seat multiplayer game written in modern JavaScript.
- 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
This experiment mixes some of the most popular JavaScript tools.
- Express - Web server
- SocketIO - Real-time communication
- Redux - Predictable state container
- Immutable - Immutable collections
- React - User interface components
- Phaser - Game framework
- Lodash - Utility library
- Babel - EcmaScript6 transpiler
- ESLint - Linting utility
- Webpack - Module bundler
- Mocha - Testing framework
- Chai - Assertion library
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
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
Run the following command to run the test suite:
npm test
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.
See LICENSE.