Dallinger / Griduniverse

Welcome to the Griduniverse.
7 stars 3 forks source link

Transitions requiring multiple actors #263

Closed silviot closed 11 months ago

silviot commented 1 year ago

See #239, #238 and #235

This PR defines a new transition that requires at least two players to be activated. It changes the message displayed to the user to mention whether the transition is currently available, and if it isn't it shows how many more players are needed.

The transition that tests rely on has been included in test code, so that it doesn't need to live in the actual game config.

A transition has been added to turn consume a stag and turn it into a fallen stag (I used a leather purse emoji since I could not find anything more fitting). It's not currently working (I probably introduced a bug), but I'll probably need to work on it a bit more anyway.

requirements.txt has been updated to not include dallinger, and constraints.txt has been added to support development and deployment using docker.