Files
codingame/shawdows_of_the_knight_episode_1/src/ffi/Reader.purs
2020-04-08 05:49:52 +02:00

15 lines
244 B
Plaintext

module Reader where
import Effect (Effect)
type GameInput =
{ width :: Int
, height :: Int
, turns :: Int
, x :: Int
, y :: Int
}
foreign import parseInput :: Effect GameInput
foreign import readline :: Effect String