Update Super Man Game - Better Code
@@ -343,12 +343,8 @@ func playstart oGame
func inlist nValue,aList
- for x in aList
- if x = nValue
- return true
- ok
- next
- return false
+ if find(aList,nValue) return True ok
+ return False
func checkwall oGame,oself,diffx,diffy
alist = [1,2,3]
