starter-snake-haskell-1.1.0: A Haskell Battlesnake starter
Safe HaskellSafe-Inferred
LanguageHaskell2010

Battlesnake.API.GameRequest

Synopsis

Documentation

data GameRequest Source #

The request sent to your battlesnake server on each turn. This contains all the information you need to determine your snakes next move.}

Constructors

GameRequest 

Fields

Instances

Instances details
FromJSON GameRequest Source # 
Instance details

Defined in Battlesnake.API.GameRequest

Generic GameRequest Source # 
Instance details

Defined in Battlesnake.API.GameRequest

Associated Types

type Rep GameRequest :: Type -> Type #

Show GameRequest Source # 
Instance details

Defined in Battlesnake.API.GameRequest

type Rep GameRequest Source # 
Instance details

Defined in Battlesnake.API.GameRequest

type Rep GameRequest = D1 ('MetaData "GameRequest" "Battlesnake.API.GameRequest" "starter-snake-haskell-1.1.0-4gsnuWXkUAhIp7OqYh2CSY" 'False) (C1 ('MetaCons "GameRequest" 'PrefixI 'True) ((S1 ('MetaSel ('Just "game") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Game) :*: S1 ('MetaSel ('Just "turn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "board") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Board) :*: S1 ('MetaSel ('Just "you") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Battlesnake))))