Skip to content
Anselmo L. S. Melo edited this page Aug 12, 2015 · 1 revision

###src/samples/flow/foosball/

Depends on GTK+ 3

###foosball.fbp

Diagrams:

  • Tracker node: tracker.svg

  • foosball: foosball.svg

Expected behavior/results: Shows a GTK-based application which is a score controller for a foosball match. Goals are computed when the pusbuttons are pressed. When any of the scores reach 5, a team is declared the winner (red/yellow_won_output on) and cheer_output turns on. The reset button resets the score and gtk/led states.