Readd wall corner collisions

This commit is contained in:
2021-11-19 22:43:46 +00:00
parent 5658692ee4
commit 51d89982ed
8 changed files with 49 additions and 21 deletions
+6
View File
@@ -50,3 +50,9 @@ rotListAt x' xs = f x' xs []
insertAt :: Int -> a -> [a] -> [a]
insertAt i x xs = let (ys,zs) = splitAt i xs in ys ++ [x] ++ zs
--listElementOthersPairs :: [a] -> [(a,[a])]
--listElementOthersPairs (x:xs) = go [] x xs
-- where
-- go ys y [] = [(y,ys)]
-- go ys y (z:zs) = (y,ys++zs): go (y:ys) z zs