Skip to content

Transform your favorite Python simulations into a game ! We provide tools and API to make your dreams come true.

License

Notifications You must be signed in to change notification settings

ScienceGamez/pysimgame

Repository files navigation

PySimGame

Documentation Status Code style: black WTFPL

A simple pygame interface that allows to run, visualize and interact with simulation models.

It has been developped for running pysd models, but the plan is to make it compatible with other simulation packages.

A full documentation is available on read the docs

Current developpement

The package is still under developpement so nothing is guaranted to work yet, but if you are interested you are welcome to contact us to see whether we can improve something or implement your ideas.

Principles

The goal is to be able to play with a simulation. A player can select some options that will modify some components of the simulation such that every game can be a different story made on the simulation.

If you want to play with World models that simulate the future of humanity, want to play the role of a governement fighting a pandemic or simply mess around with a basic predator-pray model, you are at the right place !

Our goal is to make it as easy as possible to create interaction capabilities with simulations.

pysimgame has been developped with the idea of making modding as easy as possible, such that one can implement new models, but also ways to interact with the models during the game and control of the graphics.

All the code is written in python and uses python libraries for running the games.

The pygame model can run multiple models in parallel in the simulation. We call regions the different models running in parallel.

Regions can communicate between each other using Links which It is possible to change parameters of the model using Actions which are usable by the players.

License

The licence is called a Do What the Fuck You Want to Public Licence. So you can Do What the Fuck You Want with the code.

About

Transform your favorite Python simulations into a game ! We provide tools and API to make your dreams come true.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages