Snake next apple

Log in om je oplossingen te testen.
import System.Random type Coordinate = (Int,Int) type Snake = [Coordinate] type Apple = (Coordinate,StdGen) -- The width and the height of the board width :: Int width = 64 height :: Int height = 64 -- Next apple nextApple :: Apple -> Apple nextApple = undefined
Je kunt zo vaak indienen als je wenst. Er wordt enkel rekening gehouden met je laatst ingediende oplossing.
Log in om je oplossingen te testen.