Manic Swords is an exercise project to learn React.js and improve our skills with Javascript. We used Feathers. An open source web framework for building modern real-time applications.
The game involves two players and swords falling from the sky maniacally. Avoid the swords to survive. Last man standing wins the game. Please turn on your sound!
WORK IN PROGRESS
- Dynamic drawing in HTML5 Canvas: updating each animation frame.
- Moving players synchronously in both user screens via POST server request and Socket IO.
- Constantly taking into account performance and how to improve it.
- Full-stack JS application with NodeJS as Backend.
- Authorization using Feathers.
- Managing the data flow with React-redux.
Getting up and running is as easy as 1, 2, 3.
-
Install your dependencies
cd path/to/project; npm install -
Install monogodb (if not installed already)
- Start mongodb (if not running already)
sudo service mongod start
-
Start your app
npm start
Use uWebSocket for better performance !
See: https://docs.feathersjs.com/real-time/socket-io.html
For questions, suggestions or other remarks create a pull request or contact Giulio or Pim at heijdenpvd[at]gmail.com . For more information on all the things you can do with Feathers visit docs.feathersjs.com.
