GithubHelp home page GithubHelp logo

darkpr0digy / townofsalemlamas Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 201 KB

Final Project for Masters Logical Aspect of Multi-Agent Systems Course at The University of Groningen

Home Page: https://i-tilleman.github.io/LAMASTownOfSalem/index.html

Python 100.00%
game logic python town-of-salem

townofsalemlamas's Introduction

TownOfSalemLAMAS

First and Second Order Knowledge Project

Stijn De Vries, Tumi Moeng, Isabelle Tilleman

====================================

01-07-2022

Before anything, make sure that you install all the requirements as outlined in the requirements.txt file using the following command in the terminal from inside the Assignment1 folder: pip install -r /requirements.txt

Running the Model

To run the game model follow the instructions below:

  1. Open a Terminal window within the TownOfSalemLAMAS folder
  2. Edit any running variables in the Game.py file
  3. In the current setup one game will be run in detail with all the information printed such that the user can see everything that occurs, and then a sequence of games will be played, print statements for the in game details will be restricted, and the amount of games won by the mafia and by the town will be printed at the end.
    1. If one only wishes to run the in detail game, then they can comment out the line of code on line 612 of Game.py.
    2. If one only wishes to run the long sequence of games, they can commend out the lines of code on line 606 and 607 of Game.py. Additionally, one can change the parameter in the function call of the run_games() function on line 612 to adjust the total number of runs.
  4. When one has configured the code to their desire, one can run python Game.py and observe the terminal outputs, and pyplot outputs in the case of the long sequence of games.

townofsalemlamas's People

Contributors

darkpr0digy avatar stijndevriesai avatar

Stargazers

 avatar  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.