How echodot07/games works
Game Night Arcade is a browser-based multiplayer game site with Discord login, invite-code rooms, friends, chat, and eleven games. Players enter through the main menu, authenticate, create or join a room, and play through a host-authoritative browser game: the host runs the rules while the shared network client relays actions and game state through the server. The README documents the game and failover capabilities; sampled source shows server authentication, room and relay handling, plus shared lobby and friend-fetch behavior. Individual game implementations were not sampled, so their internal links are limited to documented relationships.
Main entry points: games Host game rules · net.js Room lobby · index.html Login and menu · server.js Login and sessions
Components 27
Entry and identity
- Login and menu
public/index.html - Login and sessions
server.js
Social and rooms
- Friends and presence
server.js - Room lobby
public/games/net.js - Rooms and codes
server.js - Room chat
public/games/net.js - WebSocket relay
server.js
Game experience
- Host game rules
public/games - Ludo
public/games/ludo.html - Minigolf
public/games/minigolf.html - Blackjack
public/games/blackjack.html - Texas Hold'em
public/games/holdem.html - Three Card Poker
public/games/three-card.html - 8 Ball Pool
public/games/eight-ball.html - Uno
public/games/uno.html - Draw and Guess
public/games/draw-guess.html - Darts
public/games/darts.html - World Monopoly
public/games/world-monopoly.html - Block Baron
public/games/block-baron.html
Shared runtime
- Online sync client
public/games/net.js - Shared game helpers
public/games/common.js - Dealer visuals
public/games/dealer.js - 3D dealer
public/games/dealer3d.js - 3D dice
public/games/dice3d.js - Game styles
public/games/common.css
Other components
- Players
- Discord OAuth
Connections 31
- Players → Login and menu: open site
README.md - Login and menu → Login and sessions: start login
README.md - Login and sessions → Discord OAuth: authorize user
server.js - Discord OAuth → Login and sessions: return profile
server.js - Players → Room lobby: choose game
README.md - Room lobby → Friends and presence: fetch friends
public/games/net.js - Room lobby → Rooms and codes: create or join
README.md - Rooms and codes → WebSocket relay: manage connections
server.js - Room lobby → Room chat: offer chat
public/games/net.js - Room lobby → Online sync client: sync room
README.md - Online sync client → WebSocket relay: exchange messages
README.md - WebSocket relay → Online sync client: deliver state
README.md - Online sync client → Host game rules: dispatch actions
README.md - Host game rules → Online sync client: publish state
README.md - Players → Ludo: play
README.md - Players → Minigolf: play
README.md - Players → Blackjack: play
README.md - Players → Texas Hold'em: play
README.md - Players → Three Card Poker: play
README.md - Players → 8 Ball Pool: play
README.md - Players → Uno: play
README.md - Players → Draw and Guess: play
README.md - Players → Darts: play
README.md - Players → World Monopoly: play
README.md - Players → Block Baron: play
README.md - Host game rules → Shared game helpers: use helpers
- Host game rules → Dealer visuals: render dealer
- Host game rules → 3D dealer: render dealer
- Host game rules → 3D dice: render dice
- Host game rules → Game styles: use styles
- Login and menu → Host game rules: serve game pages