Mastermind Back-End

This project is an implementation of a mastermind backend for the vanhackatron challenge provided by axiom-zen.

Multiplayer Games

When joining multiplayer games, the parameters passed by the LAST participant is the one which counts.

The game will select one of the players at random to start the game.

Testing

Clone the repository and retrieve depedencies with npm update.

Then, run the backend using node app.js, and open the index.html on any browser and you're good to go.

What was the hardest part?

Implementing multiplayer was hard. There were too many variables to account for when changing the code from working for a single player to many players.

What advice would I give myself?

Start coding with multiplayer in mind from the beginning instead of implementing single-player and than changing it to multi-player.

What would I change about the challenge?

I loved the idea of building mastermind. I would change nothing about this challenge. It was a perfect fit for this hackatron.

Author

Sergio Moura sergio@moura.us

License

MIT

Share this project:

Updates