Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Examples

In this directory you can find examples for weasel.

A simple game in which the player engages in a naval battle, ideal to get yourself acquainted with the fundamental concepts of weasel.

A simple interactive program to demonstrate how to use event sinks to forward events.

Small example showing how to implement user defined events and metrics.

Example program showing the different ways to manage the space dimension in weasel.

A simple implementation of RoundsRules to decide the order of turns based on a creature's statistic.

Interactive example in which the player moves around a creature and can undo/redo his moves.

An example to show how to define simple passive abilities.

Example to demonstrate the usage of status effects and how to write rules for them.

Example of a multiplayer card game.