C++ program used to demonstrate the computing and adaptive capability of adaptive/statistical finite state machines (ASFSM). The output is rendered in 2D using SDL graphics.