# Examples
In this directory you can find examples for weasel.
## [Pirates](pirates/)
A simple game in which the player engages in a naval battle, ideal to get yourself acquainted with the fundamental concepts of weasel.
## [Autosave](autosave/)
A simple interactive program to demonstrate how to use event sinks to forward events.
## [User event](user_event/)
Small example showing how to implement user defined events and metrics.
## [Space](space/)
Example program showing the different ways to manage the space dimension in weasel.
## [Initiative](initiative/)
A simple implementation of `RoundsRules` to decide the order of turns based on a creature's statistic.
## [Undo](undo/)
Interactive example in which the player moves around a creature and can undo/redo his moves.
## [Passive](passive/)
An example to show how to define simple passive abilities.
## [Status](status/)
Example to demonstrate the usage of status effects and how to write rules for them.
## [King of the hill](king_of_the_hill/)
Example of a multiplayer card game.