summaryrefslogtreecommitdiff
path: root/public
AgeCommit message (Collapse)Author
2023-10-21Improvements to mobile layout code.Tor Andersson
Fixes for Chrome. Fixes for Safari. Hide log at start if window is small. Toolbar menu and icon buttons using details, menu, and button elements.
2023-10-21Add color themes.Tor Andersson
2023-10-21Add popup menu template code.Tor Andersson
2023-10-20Rename common "play" files to "client".Tor Andersson
Avoids confusion in javascript console which file is which.
2023-10-20Mobile phone interface rework.Tor Andersson
* Redesign responsive layout. * Pan & Zoom with touch (and scroll wheel). Scale main area using transforms and scroll offsets. Toggle zoom button scales map on large screens, full main zoom on small screens. * Automated standard toolbar buttons (remove from play.html files).
2023-10-20Limit size of images in posts to fit.Tor Andersson
2023-10-13Clean up stylesheet and improve layout on small and large screens.Tor Andersson
Use variables for color theming.
2023-10-13Handle invites for active games.Tor Andersson
2023-10-05Tell Google's AI robot to go away.Tor Andersson
2023-10-05Add game "setups" for automated match making and tournaments.Tor Andersson
2023-09-20Don't clip role name ascenders and descenders at edge.Tor Andersson
2023-09-18Enforce limits on how many games you can create and join.Tor Andersson
Also limit joining more games if you have too many games waiting. Generous default limits: 7 open, 29 active, and 3 waiting.
2023-09-18Links to user pages from in-game role display.Tor Andersson
2023-09-15Add user links to join page.Tor Andersson
2023-09-15Fix font-face unicode-range for Noto Emoji.Tor Andersson
2023-09-15Improve sync error handling.Tor Andersson
1) Show warning during one second then resume game. 2) Don't update cookie during simultaneous turns. When playing SoT live, discarding cards at the same time leads to many harmless in-flight action collision errors, which don't really matter. If we stop updating the cookie during simultaneous turns, we can avoid this.
2023-09-13Set player_count in database for faster and easier logic.Tor Andersson
Track ready to start and unjoined games in "active" header.
2023-09-12Fix query during detailed replay.Tor Andersson
2023-08-31Tweak CSS syntax.Tor Andersson
2023-08-12Add deep comparison function to utility library.Tor Andersson
2023-08-12Add commont ".action" cursor CSS property.Tor Andersson
2023-08-12Use synchronization cookie to prevent action de-sync errors.Tor Andersson
2023-07-13Use status constants.Tor Andersson
2023-07-02Lighter replay panel.Tor Andersson
2023-07-01Add "snapshot" replay view during play.Tor Andersson
Snapshots store game state without undo and only log length. Combined with the final game state's log we can recreate the view from any snapshot quickly. Move replay code into separate script file, loaded only when used. Prefix system "setup", "resign", and "restore" actions with a period.
2023-06-30Turn "undo" functions into no-ops if undo stack is not present.Tor Andersson
Allow replaying game states quickly without undo handling.
2023-06-30Remove unused msie.html file.Tor Andersson
2023-06-12Add Tinos web font.Tor Andersson
2023-06-05Add another function to common code library.Tor Andersson
2023-06-05Remove stale stuff.Tor Andersson
2023-05-23Make log updates more robust in preparation for future improvements.Tor Andersson
2023-05-21Remove unused Nimbus Roman web font.Tor Andersson
2023-05-18Remove support for old game parameter format.Tor Andersson
2023-04-28Only toggle body.shift if the active element is the root.Tor Andersson
Avoid toggling shift stuff if the chat input box has focus, etc.
2023-04-28Rename game "description" to "notice".Tor Andersson
2023-04-18Generate JSON for replay view in SQL.Tor Andersson
Also optimize the format by not JSON encoding some data twice.
2023-04-18Forum search using FTS5.Tor Andersson
2023-03-17Allow disabled menu items.Tor Andersson
2023-03-17Avoid action name collision with debugging command "restore".Tor Andersson
2023-02-28Use abbreviated role names in replay buttons.Tor Andersson
For games with more than two players.
2023-02-28Fixup for optimize replay.Tor Andersson
2023-02-26Make user name and player presence lists more robust.Tor Andersson
Cope with special characters like + etc.
2023-02-26Invite player system.Tor Andersson
2023-02-24Use URL search params instead of funky colon separated arguments.Tor Andersson
2023-02-24Optimize replay.Tor Andersson
Send raw array rather than objects over the wire.
2023-02-24Prepare for using search URL parameters instead of colon.Tor Andersson
Give clients time to refresh the common play.js script to reduce the risk of disruption when the final swap-over to the new scheme is made.
2023-02-23Escape role in websocket connection.Tor Andersson
2023-02-05Very basic dark mode theme.Tor Andersson
Tone down the background color to light gray instead of white, if dark mode is preferred by the browser.
2023-01-31Add breakpoints to game log in debugging view.Tor Andersson
2023-01-31Allow debugging "restored" games.Tor Andersson