VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Pocket Calculator using a State Transition Table

ULLI  (93 Submissions)   Math/Dates   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This pocket calculator is meant as an example for the almost forgotten State Transition Table technique. With this technique the complete behaviour pattern is stored in a two-dimensional table containig Reactions to input-triggers (in this case key presses, but depending on circumstances the triggers may be anything else), and States. An STT is an ideal tool to control game characters for example because it allows different reactions to identical inputs.
The code is documented and also contains a short description of how it works. It's worth the download if you want to learn more about STTs, so give it a try. Download is 18 kB.

Rate Pocket Calculator using a State Transition Table (4(4 Vote))

Download Pocket Calculator using a State Transition Table

Pocket Calculator using a State Transition Table Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters