How ibrahimch123/cross-word works
This is a browser-based crossword/word game with player accounts, score tracking, definition authoring, and a definitions browser. Players register or log in, start a timed word game, reveal letters or request suggestions, and submit scores and win/loss statistics; a separate mode lets players submit definitions for a prompted word. The Express backend serves the frontend and handles game, account, definition, and administrative data operations backed by MySQL. The README is empty, and backend excerpts omit several route implementations, so those capabilities and links are included only where client calls or shown routes support them.
Main entry points: backend.js Express backend · word.js Word game UI · def.js Define mode UI · login.js Login UI
Components 15
Browser experience
- Login UI
frontend/login.js - Express backend
backend.js
Word games
- Word game UI
frontend/word.js - Define mode UI
frontend/def.js - Word game data
backend.js - Word suggestions
backend.js
Players and scores
- Account operations
backend.js - Scores and stats
backend.js - Player administration
backend.js
Definitions and data
- Definitions browser
frontend/dump.js - MySQL database
- Definition authoring
backend.js - Prompt word selection
backend.js - Definition data export
backend.js
Other components
- Player
Connections 20
- Player → Login UI: uses
frontend/login.js - Player → Word game UI: plays
frontend/word.js - Player → Define mode UI: submits definitions
frontend/def.js - Player → Definitions browser: browses
frontend/dump.js - Login UI → Account operations: authenticates
frontend/login.js - Word game UI → Word game data: requests game data
frontend/word.js - Word game UI → Word suggestions: requests suggestions
frontend/word.js - Word game UI → Scores and stats: updates scores and stats
frontend/word.js - Define mode UI → Prompt word selection: requests prompt word
frontend/def.js - Define mode UI → Definition authoring: submits definition
frontend/def.js - Definitions browser → Definition data export: requests records
frontend/dump.js - Express backend → Account operations: routes account requests
backend.js - Express backend → Scores and stats: routes score updates
backend.js - Express backend → Word game data: routes game requests
backend.js - Express backend → Prompt word selection: routes prompt requests
backend.js - Express backend → Definition authoring: routes submissions
backend.js - Express backend → Definition data export: serves data
backend.js - Express backend → Player administration: routes admin requests
backend.js - Express backend → MySQL database: queries
backend.js - Express backend → Login UI: serves frontend assets
backend.js