Code Monkey home page Code Monkey logo

wlansimulationgame's Introduction

WLAN Simulation Game

A system for WLAN supported simulation games. It is optimized for 15 to 25 players in five groups.

Requirements

You need a server with Python 3.4.x, Virtual Python Environment builder 1.11.x (optional, but recommended) and an actual webbrowser with support for HTML5 and CSS3. On the server you have to install this application and its dependencies (Django 1.7.x and Constance – Dynamic Django settings > 0.6 (Backend: Database)).

At least one player of each group of players needs a client computer with an actual webbrowser.

All client computers and the server need access to a network, e. g. a WLAN.

Install and start

This is only an example instruction for a Unix system where Python and Git is already installed.

$ git clone https://github.com/normanjaeckel/WLANSimulationGame.git  # You can also extract the downloaded compressed tar archive from GitHub instead of using Git.

$ cd WLANSimulationGame

$ virtualenv .virtualenv --python=python3

$ source .virtualenv/bin/activate  # On Windows use: .virtualenv\Scripts\activate

$ python --version  # Ensure that this returns Python 3.4.x

$ pip install -r requirements.txt

$ python manage.py migrate

$ python manage.py createsuperuser  # You will be prompted for username and password.

$ python manage.py runserver --insecure 0.0.0.0:8000

Configuration

First you can login as admin user to the admin panel. There the player characters can be created. All configuration values have to be setup in the menu item Constance/Config. Last but not least all playable cards with all texts, owners, targets and scores have to be entered.

Now you can print the cards, the list of all cards, the player descriptions, the game introduction and an access data sheet and give them to the players.

Every group of players gets its own cards (with scores), a list of all cards (without scores), a list of all players with descriptions, a game introduction and its access data sheet.

At the beginning of the game the configuration flag to allow writing messages has to be activated by the game master. Now the players can communicate and deal with the other groups. All messages have to be printed by the game master, because there is intentionally no possibility for the players to receive messages via the interface. All played cards have to be marked as played manually in the interface by the game master.

Example games

To load the data of the German example simulation game „Wissen ist Macht“, install the program as mentioned above and run:

$ python manage.py loaddata examples/example_game_de_1/data.json

To load the data of the German example simulation game „Jeder ist seines Glückes ...“, install the program as mentioned above and run:

$ python manage.py loaddata examples/example_game_de_2/data.json

The username of the game master is admin. The password for of the game master and all players is default. All passwords have to be changed before starting the game. You might also want to change the header image by replacing the respective file in wlan_simulation_game/static/images.

License

WLAN Simulation Game is Free/Libre Open Source Software and distributed under the MIT License, see LICENSE file.

Questions

If you have any questions, do not hesitate to write me an email to wlansimulationgame [at] normanjaeckel.de.

wlansimulationgame's People

Contributors

normanjaeckel avatar

Watchers

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