Commit graph

12555 commits

Author SHA1 Message Date
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
bf5db08357 get rid of sGlobals! 2021-03-19 14:26:18 -07:00
Eric House
b368d0b801 pass closure from js to avoid global 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
1813552b5e use native js for idle (timers next) 2021-03-19 14:26:18 -07:00
Eric House
40e72f8b29 snapshot (with textfield broken) 2021-03-19 14:26:18 -07:00
Eric House
c57471364f get URL-encoded invitation receipt working 2021-03-19 14:26:18 -07:00
Eric House
1b5cdce72c don't try to send when not connected 2021-03-19 14:26:18 -07:00
Eric House
7efc4b29bf get mqtt working again 2021-03-19 14:26:18 -07:00
Eric House
a1d6f25fc6 tweak makefile 2021-03-19 14:26:18 -07:00
Eric House
d586ccf67f work with WASM=1 and shell template to pass argv from url 2021-03-19 14:26:18 -07:00
Eric House
2eff5ebc7b cleanup 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
551765b120 launch asap 2021-03-19 14:26:18 -07:00
Eric House
40468d8a1b load existing game on launch 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
3cb1183e96 Makefile tweaks 2021-03-19 14:26:18 -07:00
Eric House
9bc72d0745 move stream storage into super 2021-03-19 14:26:18 -07:00
Eric House
2c7568723f add missing files 2021-03-19 14:26:18 -07:00
Eric House
7dc309cc3d get local storage working 2021-03-19 14:26:18 -07:00
Eric House
b236b80a71 setup so load/store get called 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
15ae9da08b refactor so game init is repeatable (untested) 2021-03-19 14:26:18 -07:00
Eric House
ec9570ab81 improve drawCell() 2021-03-19 14:26:18 -07:00
Eric House
66a422e2a2 cleanup so building .html works again 2021-03-19 14:26:18 -07:00
Eric House
d620461574 fix so all compile 2021-03-19 14:26:18 -07:00
Eric House
ed274d9835 run naked, and add buttons for hints etc 2021-03-19 14:26:18 -07:00
Eric House
c2b56c8d32 modify to run "naked" 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
1d87c3facd snapshot: tile dragging works, timers don't 2021-03-19 14:26:18 -07:00
Eric House
9b4328d6dc snapshot 2021-03-19 14:26:18 -07:00
Eric House
a047a9c865 start changing colors 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
0b34018d98 draw first text 2021-03-19 14:26:18 -07:00
Eric House
633896292a snapshot: drawing empty board 2021-03-19 14:26:18 -07:00
Eric House
947b28f3b3 snapshot: does something 2021-03-19 14:26:18 -07:00
Eric House
b62ab69799 add missing file 2021-03-19 14:26:18 -07:00
Eric House
073b5f6bf3 enable delete and archive when msg queue empties
Recent change added Delete button to game-over alert, but only when no
unacked messages remained (since deleted games can't continue trying to
send messages other games might still need to know the game's over.)
Typically the alert would go up and then, if the remote device is
online, shortly after acks would arrive. Now when that happens the alert
gets updated to offer to delete and archive.
2021-03-19 14:07:43 -07:00
Eric House
d5546b484d cleanup (mostly non-DBG compile errors) 2021-03-19 13:03:39 -07:00
Eric House
fb0807c14b fix so 0-percent works 2021-03-19 12:50:37 -07:00
Eric House
3f6f16c2f4 add script to print comms msg exchange details 2021-03-19 12:50:32 -07:00
Eric House
f335ea7ad9 remove or tweak logging 2021-03-19 12:50:28 -07:00
Eric House
5fa44e54fa remove unneeded .h file 2021-03-19 12:50:23 -07:00
Eric House
f9e1deabfc don't include dict tiles/values in initial server msg
There's code on all platforms to force user to have dict prior to
opening a game or responding to an invitation. "Empty" dict play hasn't
made sense in a long time.
2021-03-19 12:50:19 -07:00
Eric House
ca88d9c0bf backout ack change for now 2021-03-12 07:16:28 -08:00
Eric House
f947382f4c in comms, send ack on receipt of duplicate msg 2021-03-11 21:43:26 -08:00