Skip to content

Commit

Permalink
finish rough initial draft of group joiner connection flow
Browse files Browse the repository at this point in the history
  • Loading branch information
david-fong committed May 18, 2020
1 parent 0f19f38 commit 87b132d
Show file tree
Hide file tree
Showing 5 changed files with 223 additions and 144 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<body style="margin:0;">
<script id="socket.io" src="dist/client/vendor/socket.io.js"></script>
<datalist id="public-game-hosts-list">
<!-- <option value="localhost"> -->
<!-- default protocol is http -->
</datalist>
<script>
{ // Load up last used colour scheme (or default):
Expand Down
5 changes: 5 additions & 0 deletions src/client/TopLevel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ export class TopLevel {
+ " color:white; background-color:#3f5e77; border-radius:0.7em; ");
}

public toast(message: string): void {
// TODO.impl
console.info(message);
}

public get socketIo(): Promise<typeof import("socket.io-client")> {
// return this.#socketIoChunk
// || (this.#socketIoChunk = import(
Expand Down
Loading

0 comments on commit 87b132d

Please sign in to comment.