Documentation ¶
Overview ¶
Package ui contains the client fror the game. It compiles to webassembly to allow users to play the game in their browsers.
Directories ¶
Path | Synopsis |
---|---|
Package dom contains the javascript bindings for the site
|
Package dom contains the javascript bindings for the site |
url
Package url replaces the standard net/url package for basic url operations
|
Package url replaces the standard net/url package for basic url operations |
Package game has the ui game logic.
|
Package game has the ui game logic. |
canvas
Package canvas contains the logic to draw the game.
|
Package canvas contains the logic to draw the game. |
lobby
Package lobby contains code to view available games and to close the websocket.
|
Package lobby contains code to view available games and to close the websocket. |
socket
Package socket contains the logic to communicate with the server for the game via websocket communication
|
Package socket contains the logic to communicate with the server for the game via websocket communication |
Package http makes XML HTTP Requests using native browser code.
|
Package http makes XML HTTP Requests using native browser code. |
Package log contains shared logging code
|
Package log contains shared logging code |
Package user contains code to create and edit users that can play games in the lobby.
|
Package user contains code to create and edit users that can play games in the lobby. |
Click to show internal directories.
Click to hide internal directories.