summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-21Use <details> to show/hide battle box contents!Tor Andersson
And now we don't need to allow user movement of the battle dialogs.
2023-10-21Simplify user-select:none and pointer-events:none setting.Tor Andersson
Set these at the top level so lower level elements don't need to repeat.
2023-10-21Only toggle fullscreen when double tapping on header.Tor Andersson
2023-10-21More mobile layout improvements.Tor Andersson
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-20Expand intro text and move it to the About page.Tor Andersson
2023-10-20Tool to "force" a reload of a game by clients.Tor Andersson
Add a random suffix to the script and stylesheet links in play.html
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-13Fix SQL game view to show games with no owner.Tor Andersson
2023-10-13Handle invites for active games.Tor Andersson
2023-10-07Fix sending out ready to start reminders.Tor Andersson
2023-10-07Shuffle or shift player roles for rematches.Tor Andersson
For asymmetric games, shift the roles one step so everyone gets a new role. For symmetric games, shuffle the color assignments so the player order is mixed up.
2023-10-05Tell Google's AI robot to go away.Tor Andersson
2023-10-05Revert "Add match making."Tor Andersson
This reverts commit b5a31813aa284b8b64bfd2660ea3a048275cee89.
2023-10-05Add match making.Tor Andersson
2023-10-05Add game "setups" for automated match making and tournaments.Tor Andersson
2023-10-05Change some URLs to be more consistent.Tor Andersson
2023-10-05Avoid "natural" joins for future proofing schema changes.Tor Andersson
2023-09-21Only update ELO if at least 5 moves were made.Tor Andersson
2023-09-21Don't show "too many waiting games" on join page if game is active/finished.Tor Andersson
2023-09-20Add "pace" section to About page.Tor Andersson
2023-09-20Add pace property to games.Tor Andersson
Currently unenforced and only visual effect in game listings.- Future time control and user penalty features may make use of it.
2023-09-20Move mtime and active into games table.Tor Andersson
Avoid joining with game_state for all the game list views.
2023-09-20Batch game state related database updates into transactions.Tor Andersson
Only update game 'mtime' when the active player changes.
2023-09-20Don't clip role name ascenders and descenders at edge.Tor Andersson
2023-09-18Tweak title globals.Tor Andersson
2023-09-18Optimize game options parsing and formatting.Tor Andersson
Sort player names in game boxes by role order.
2023-09-18Don't show "ready to start" games on public game list.Tor Andersson
2023-09-18Show warning badge for unverified mail on profile page.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-15Fix crash when updating unread chats if anonymous observers are present.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-13Calculate Elo ratings.Tor Andersson
Primarily for use with future matchmaking system to provide better games for everyone. Show top 5 players of each game on the game pages.
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-13Don't show private open games on user page.Tor Andersson
2023-09-13Add mail verification.Tor Andersson
2023-09-13Don't return unused replay_id from put_replay.Tor Andersson
2023-09-13Don't recreate forum FTS search tables every time we update the schema.Tor Andersson
2023-09-12Fix query during detailed replay.Tor Andersson
2023-09-12Notification system improvements.Tor Andersson
Enable webhook notification support with .env WEBHOOKS=1 Send notifications when invited to a game. Use notification "too soon" logic for webhooks as well. Try sending webhooks 3 times before giving up. Check if player is on the join page instead of the funky "offline" check when sending "your game is ready" notification. Only show mail/webhook notification settings if they are enabled.
2023-08-31Tweak CSS syntax.Tor Andersson
2023-08-12Add deep comparison function to utility library.Tor Andersson