Skip to content

bearbob/cheat-cooperate

Repository files navigation

Cheat-Cooperate

A small multiplayer game about trust, using NodeJS
Report Bug · Request Feature

Table of Contents

About The Project

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.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is a list of things you need to do to use the software.

Installation

  1. Clone the repo
git clone https://github.com/bearbob/cheat-cooperate.git
  1. Install NPM packages
npm install

Running

  • Execute node index.js to setup and run the server on your environment. Afterwards open localhost: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

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

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.

  1. Read the rules for contribution
  2. Fork the Project
  3. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  4. Commit your Changes (git commit -m 'Add some AmazingFeature')
  5. Push to the Branch (git push origin feature/AmazingFeature)
  6. Open a Pull Request (a good title and description speed up the review process)

License

Distributed under the Apache License 2.0. See LICENSE for more information.