This story uses the classic arcade game Pac-Man as a basis for teaching the boolean type / boolean logic concept.
The theme is a derivative of Weng, Tseng, and Lee's (2010)(1) discussion about strategies for effective learning for logic by using game states.
The story uses several game state checks to practice boolean expressions in the language constructs.
Game states explored:
Terms used in the story:
1. Jui-Feng Weng, Shian-Shyong Tseng, Tsung-Ju Lee, Teaching Boolean Logic through Game Rule Tuning, IEEE Trans. Learning Technol. 3 (2010) 319–328. https://doi.org/10.1109/TLT.2010.33.