Commit graph

38 commits

Author SHA1 Message Date
Eric House
07cd95e715 use github code to implement md5sum for mqtt msg ack (wasm only) 2023-02-26 19:53:12 -08:00
Eric House
4c76dd7470 add link to public gameinfo page 2023-02-26 19:53:12 -08:00
Eric House
a6e912c6ae cleanup 2023-02-23 16:38:08 -08:00
Eric House
95e9647ff0 receipt of invitations works 2023-02-22 20:54:21 -08:00
Eric House
4bc24b41f6 snapshot: saved games open now 2023-02-22 19:04:05 -08:00
Eric House
78d84a941e compiles, but untested
And certainly won't work!
2023-02-22 19:04:05 -08:00
Eric House
4a57b76817 cleanup: pass xwe with closeProc rather than to destroy
It's only needed when there's a close proc, and that's rare.
2023-02-03 22:00:47 -08:00
Eric House
b730253e6b remove FLIP button; save/restore prefs 2021-03-24 17:52:17 -07:00
Eric House
7a7a2db6ce enable chat (without history) 2021-03-24 15:58:25 -07:00
Eric House
bcf85fa849 adjust board size based on window size
Seems to work adequately. Resizing buttons needs to happen too.
2021-03-22 19:39:39 -07:00
Eric House
3060def376 add and use NULL_XWE 2021-03-21 20:16:09 -07:00
Eric House
b1532f19a4 move getDict from dutil to util
It's in the context of a game, and we might want info about the game
when notifying the user. For wasm, though, I just download after failure
to open. User has to try again to open the game. Good enough for now
since missing a wordlist shouldn't happen if you're not me changing
where they're stored.
2021-03-19 17:27:17 -07:00
Eric House
585f55c040 use notifications and other tweaks 2021-03-19 14:29:49 -07:00
Eric House
598565836d separate indexeddb filesystems for dbg and rel 2021-03-19 14:29:20 -07:00
Eric House
f0d8a71deb split dict faces using js so utf8 chars are ok
As with java, the platform knows utf-8 better than vanilla C, so use a
JS inlined function to split a binary stream into its "face" components.
2021-03-19 14:29:20 -07:00
Eric House
4f524d0bb0 download wordlists when needed for invitation 2021-03-19 14:28:34 -07:00
Eric House
39be910b13 tweaks 2021-03-19 14:27:04 -07:00
Eric House
567c3dbf9e show mempool stats (DEBUG builds) 2021-03-19 14:27:04 -07:00
Eric House
4937d13273 use indexeddb for storage 2021-03-19 14:27:04 -07:00
Eric House
2a6931fdcf add and start using indexeddb via emscripten APIs
Replace a couple of load/store actions with new APIs that do so
asynchronously (using indexeddb underneath, via emscripten APIs.)
Required restructuring how app starts. More changes to come. The idea is
to replace wordlist storage: this'll keep 'em smaller and not require
conversion to string.
2021-03-19 14:27:04 -07:00
Eric House
d5e7dc4c97 game from a downloaded wordlist works!!!! 2021-03-19 14:27:04 -07:00
Eric House
523c9b270a keep games open and switch between them
Motiviation was to be able to deliver a message in the background, but
at least for now it's easier not to close games again. Can always do
that later if it's a memory problem.
2021-03-19 14:27:04 -07:00
Eric House
e2beccc85c sort games, fix buttons 2021-03-19 14:27:04 -07:00
Eric House
b386abcf9d make stuff better 2021-03-19 14:27:04 -07:00
Eric House
57783756d6 rename and open seem to work 2021-03-19 14:27:04 -07:00
Eric House
9ec8952fdb move game stuff into separate struct 2021-03-19 14:27:04 -07:00
Eric House
c79d634458 add blank-picker dialog 2021-03-19 14:27:04 -07:00
Eric House
b80f3fdf06 implement wasm_util_remSelected 2021-03-19 14:27:04 -07:00
Eric House
d53ab92af3 show game-over details 2021-03-19 14:27:04 -07:00
Eric House
96829b5478 fix so release build builds
without MEMDEBUG defined that is
2021-03-19 14:27:04 -07:00
Eric House
880bff747d use js runtime for timers too 2021-03-19 14:26:18 -07:00
Eric House
4612ca70c7 snapshot: message exchange mostly works 2021-03-19 14:26:18 -07:00
Eric House
e3814bf0eb snapshot: sends message to inviter 2021-03-19 14:26:18 -07:00
Eric House
c5aea32227 save game on changed 2021-03-19 14:26:18 -07:00
Eric House
656f433d57 snapshot: using alert() and confirm() 2021-03-19 14:26:18 -07:00
Eric House
3c791b0f3c git confirm working 2021-03-19 14:26:18 -07:00
Eric House
9b4328d6dc snapshot 2021-03-19 14:26:18 -07:00
Eric House
de98a70b9f snapshot
Staring to hack stuff: I need an alert mechanism already to confirm a
move.
2021-03-19 14:26:18 -07:00