Skip to content

singen/huskybot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HuskyBot

Starting point for building a Haskell algorithm competition bot for the upcoming Reaktor code camp.

Competition Protocol

  • JSON over TCP/IP
  • Single JSON object message per line (separated by \n)
  • Message structure consists of msgType and data
  • Client starts with a JOIN message:
     {"msgType":"join","data":"lollerström"}
  • Client waits until server starts a competition
  • Start message is a list of player names:
     {"msgType":"gameStarted","data":["lollerström", "ökytunkkaaja"]}

About

Haskell JSON over TCP game bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published