Skip to content

ggwzrd/manic-swords

Repository files navigation

Manic Swords

About

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

Main challenges

  1. Dynamic drawing in HTML5 Canvas: updating each animation frame.
  2. Moving players synchronously in both user screens via POST server request and Socket IO.
  3. Constantly taking into account performance and how to improve it.
  4. Full-stack JS application with NodeJS as Backend.
  5. Authorization using Feathers.
  6. Managing the data flow with React-redux.

Getting started

Getting up and running is as easy as 1, 2, 3.

  1. Make sure you have NodeJS and npm installed.

  2. Install your dependencies

    cd path/to/project; npm install
    
  3. Install monogodb (if not installed already)

  1. Start mongodb (if not running already)
sudo service mongod start
  1. Start your app

    npm start
    

TODO

Use uWebSocket for better performance !

See: https://docs.feathersjs.com/real-time/socket-io.html

Help

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.

About

Multiplayer game in ReactJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published