This is my version of a platformer program like Karen's. It is a bit unusual in that it is never at rest: when sitting on something, the jump variable moves between -1, 0, and 1.
Started with liyckk1126's program.