top of page

Finite State Machine

University Assignment | Python | 2019

01

Finite State Machine

The virtual battleground is developed by the course instructor. I programmed each state using if statements and math calculations to determine whether there is an incoming danger. Then corresponding action will be performed such as dodging  bullets or shooting. Traps in the map are also considered.

Picture17.png
Picture16.png
bottom of page