Wednesday, April 1, 2015

oTree: a Django toolset for multiplayer strategy games

Hello all,

Please check out my project oTree:

https://github.com/oTree-org/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

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/015e8e12-dd85-423a-8019-8367e86e2d5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment