Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.25 KB

README.md

File metadata and controls

14 lines (10 loc) · 1.25 KB

FosterScript.Examples

Example code for the FosterScript library

FiniteExample

Shows how to use FiniteWorld in a console application. Finite worlds have a set amount of steps they run before stopping, and will attempt to complete this steps as quickly as possible.

IndefiniteExample

Shows how to use IndefiniteWorld in a console application. Indefinite worlds have a predetermined amount of time between each step. It will attempt to complete each step with their starts offset by the specified time. If a step takes too long, and begins to overlap another step, it will delay the other step.

BasicBrainExample

Shows how to use Brain as the base class for a neural network, and runs it in an Indefinite World.

WpfExample

An extended version of the BasicBrainExample that shows how you can use actors with neural networks in a WPF application.