A small multiplayer game about trust, using NodeJS
Report Bug
·
Request Feature
Inspired by https://ncase.me/trust/, this is a game for at least two players to cooperate or betray each other. In each round, you have to decide whether to cooperate with your partner, or betray them (and possibly earn more points). You can also play with more people, were you are assigned a new partner randomly each round. A leaderboard shows the player names that currently have the most points. Whether you cooperate or betrayed your partner will be displayed in a chat.
To get a local copy up and running follow these simple steps.
This is a list of things you need to do to use the software.
- Install NodeJS
- Clone the repo
git clone https://github.com/bearbob/cheat-cooperate.git
- Install NPM packages
npm install
- Execute
node index.js
to setup and run the server on your environment. Afterwards openlocalhost:5000
and play the game! (tip: you need an even account of players, but you can simulate that with multiple tabs) - Execute
npm test
, if your want to run the unit tests
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Read the rules for contribution
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request (a good title and description speed up the review process)
Distributed under the Apache License 2.0. See LICENSE
for more information.