A multiplayer (.io) web game for learning flash cards!
- Choose a username
- You can either choose a pre-made card list, or paste in your own csv.
- You pick up cards by running into them (move your curser or use touch on mobile). Your current card is listed at the bottom of the screen.
- On top of your character, you can see an indicator that changes color depending on how close you are to the card you seek (green = close, red = far). If you do not see an indicator, that may mean someone else has your card, in which case you should drop your card (press "x" or double tap on mobile).
- When you match a card, you get points! You can eat another player if you have more points than them (their name will turn green). If you eat another player, you will lose half your points, but you will gain an "eats". The goal of the game is to have the most "eats".
Built with Node.js, socket.io, and HTML5 Canvas.
Built using Victor Zhou's tutorial: How to Build a Multiplayer (.io) Web Game.
To get started, make sure you have Node and NPM installed. Then,
$ npm install
$ npm run develop
on your local machine.
To run the project in a production setting, simply
$ npm install
$ npm run build
$ npm start
To run the tests for this this project, simply
$ npm install
$ npm test