You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calum Mackervoy edited this page May 7, 2023
·
1 revision
In a game jam completed in May 2023 we wrote a card game with simplified combat mechanics but where players could inject a relatively unrestricted variety of cards
For the card game we needed a classic system of point resources (health, mana), and attacks which would deal damage to those resources
For this purpose we wrote the mudcombat ontology, which is made up of the following parts:
PointResource which is a generic way to define things like health points and mana points. Some of the typical kinds used in games are also defined (like HP). The generic property is hasPointResourceStats
AttackDetails is an object which can be added to an Action (instant) or Task (interval). It models fixedDamage, or maximumDamage and minimumDamage