maze game collision detection

hello all
im trying to get some kind of collision-detection working for the maze-game to stop the player from walking through the fence. my skills regarding phyton are to weak to code a solution with the pygame extension…
so i took pieces from the touchtable-example from the palette and the collision detection-idea from this thread:
viewtopic.php?f=17&t=4663&p=27466#p27466
so what i do is to check if a point from the player-node intersects with the wall, if yes then i put the current position-value into a limit-chop in “/project1/multiTouch/player/dynamicsXY/limitx or limity”… when moving slow, the detection works quite well, but when moving fast i can get trough the fence easely.
would be very glad if someone had an idea to get that thing working, see the read me in the toe attached!
thank you very much
luca
maze_collision.toe (147 KB)