I am writing a rogue-like game in Python and am defining my
self.state = Blocked
For three constants, I would use the unpacking version of the enum 'pattern':
Blocked, Wall, Floor = range(3)
If it gets more complex than that though, I would have a look at other enum types in python.