Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Move ¶
func Move(cr *messagerouter.CommandRequest, w messagerouter.ResponseWriter) error
Move will move the player in a specified direction. It will also prevent the player from moving off the array
func Register ¶
func Register(cr *messagerouter.CommandRequest, w messagerouter.ResponseWriter) error
Register will add a username to the map
Types ¶
Click to show internal directories.
Click to hide internal directories.