Chance Templates

This page uses Hashtag Chance Templates to demonstrate a 50% chance of showing a "Triggered!" message, otherwise showing a "Failed!" message.   The messages are styled using Bootstrap 3 default theme classes.   Reload this page to take another chance.  
Processing this Hashtag Markup:
<# start chance of 50% #>
	<h4 class="alert alert-success text-center">Chance Triggered!</h4>
<# else chance #>
	<h4 class="alert alert-danger text-center">Chance Failed!</h4>
<# end chance #>

Chance Triggered!

These pages use the Hashtag Markup Language to demonstrate methods for non-determinism using Chance Templates.

Chance Templates use the latest pseudo-random number generators provided by PHP.