The Art of Illusion: How Geometry Shapes Perception and Games