Giter Site home page Giter Site logo

town-of-salem's Introduction

town-of-salem

a little town of salem - like game based on my assignments from a university course

In this game players participate, each with a role. The roles are: 1) Citizen 2) Doctor 3) Gangster. In the beginning of the game a role and a name is assigned to each player using a txt file. There is one doctor, one gangster and the rest are citizens. Tha game is split into 2 phases, day and night. In the night phase, the citizens are “asleep“ and the gangster selects which player has to leave (lose). Then, the doctor decides which player to save from the gangster. If the doctor selects the same player that the gangster chose, the player is saved and he does not lose. At the end of the night it is announced which player lost (if a player has lost). In the day phase, the players vote one of the rest players to quit the game. The player with the most votes loses. The cycle of day and night repeats until the gangster loses or all the players lose. If the gangster loses while there are still players left the citizens win. If there are two players left and one of them is the gangster, the gangster wins.

town-of-salem's People

Contributors

vougioukakis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.