This activity takes some sample logic from the computer game Nethack and summarizes it as a boolean expression for the students to evaluate and discuss.
The game logic used in this activity covers the conditions under which the player can be turned to stone (petrified) by a cockatrice, one of the monsters in the game.
The purpose of this activity is to give the students practice reading and understanding (by re-stating in English) boolean expressions. In addition, it also serves as an example of how complex boolean expressions can be built up to solve "real-world" problems.
Teacher notes
(PDF, ODT) |
These documents were created by Gary Kacmarcik.
These documents are licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License