ui

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 0 Imported by: 0

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
dom
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL