Eric House
a6e912c6ae
cleanup
2023-02-23 16:38:08 -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
08310b0179
fix wasm build
2022-04-01 07:51:13 +02:00
Eric House
2fcf4db58f
fix to compile and not crash
2022-01-03 08:25:49 -08:00
Eric House
44152f6c36
fix wasm build a bit
...
Still doesn't seem to work on new install
2021-06-28 12:58:55 -07:00
Eric House
7a7a2db6ce
enable chat (without history)
2021-03-24 15:58:25 -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
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
d5e7dc4c97
game from a downloaded wordlist works!!!!
2021-03-19 14:27:04 -07:00
Eric House
2ab2f5642e
add name button and store wordlist
...
As a p.o.c., load the built-in wordlist into storage once, and
thereafter use it from there rather than as a file. Now it can go away
and a wordlist for the user's locale be downloaded and stored instead.
2021-03-19 14:27:04 -07:00
Eric House
06b530c443
add notion of index to storage
...
I'm heading toward being able to know what all the games are by how
they're stored in a xplatform way. This is a start. Adding a second key
to storage, and looking at grouping everything where one key or the
other matches.
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
b386abcf9d
make stuff better
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
02a193902f
get trade working
2021-03-19 14:26:18 -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
d7d3f293e7
cleanup
2021-03-19 14:26:18 -07:00
Eric House
cd614004ae
two-robot game works
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
Eric House
633896292a
snapshot: drawing empty board
2021-03-19 14:26:18 -07:00