Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
server
Package main starts the server after configuring it from supplied or standard arguments
|
Package main starts the server after configuring it from supplied or standard arguments |
Package db interacts with storing user attributes so they can be retrieved after the server restarts
|
Package db interacts with storing user attributes so they can be retrieved after the server restarts |
Package game contains communication structures for the game controller, lobby, and socket to use
|
Package game contains communication structures for the game controller, lobby, and socket to use |
board
Package board stores the tiles for a game and handles queries to read and update tiles
|
Package board stores the tiles for a game and handles queries to read and update tiles |
controller
Package controller handles the logic to run the game
|
Package controller handles the logic to run the game |
lobby
Package lobby handles players connecting to games and communication between games and players
|
Package lobby handles players connecting to games and communication between games and players |
socket
Package socket handles communication with a player using a websocket connection
|
Package socket handles communication with a player using a websocket connection |
tile
Package tile contains structures that players interact with on game boards
|
Package tile contains structures that players interact with on game boards |
Package server runs the http server with allows users to open websockets to play the game
|
Package server runs the http server with allows users to open websockets to play the game |
ui
|
|
canvas
Package canvas contains the logic to draw the game
|
Package canvas contains the logic to draw the game |
controller
Package controller has the ui game logic.
|
Package controller has the ui game logic. |
dom
Package dom contains the javascript bindings for the site
|
Package dom contains the javascript bindings for the site |
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. |
log
Package log contains shared logging code
|
Package log contains shared logging code |
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 |
user
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.