oTree: a Django toolset for multiplayer strategy games

62 views
Skip to first unread message

c139...@gmail.com

unread,
Apr 1, 2015, 11:46:25 AM4/1/15
to django...@googlegroups.com
Hello all,

Please check out my project oTree:


It is an open-source, Django-based toolset for multiplayer turn-based strategy games, like the prisoner's dilemma and other games from game theory and economics. It is also useful for single-player games and questionnaires -- essentially, any app that consists of a predefined sequence of pages with forms.

Here are some features:

- GUI installer and launcher
- API suitable for novice/intermediate programmers.
- Multiplayer test runner: Define a "bot" in tests.py, and the test runner will simulate multiple bots playing together concurrently, according to a predetermined or random strategy.
- Composability: you can define the sequence of pages in an app by defining a page_sequence = [...] in views.py, and you can define the sequence of apps by defining an app_sequence = [...] in settings.py.
- Pages in the sequence can be skipped dynamically
- Waiting pages that synchronize all players in a group before proceeding
- Publish your game to Amazon Mechanical Turk
- The properties of a form field can be easily defined at runtime, like: choices, min/max, label.
- Play as different users in different browser tabs
- Live updating game results dashboard

The repo with the games is here: https://github.com/oTree-org/oTree
The core libraries are here: https://github.com/oTree-org/otree-core
The installer/launcher is here: https://github.com/oTree-org/otree-launcher

I hope some of you find it useful and I look forward to any feedback.

Best,

Chris
Reply all
Reply to author
Forward
0 new messages