How tanyasanghavi/aslingo works
ASLingo is a browser-based ASL learning app: users sign in, choose a learning path, watch a 3D sign demonstration, then practice with camera-based hand and face feedback; scores feed progress. Separate game modes include solo challenges, online battles, leaderboards, and teams. The sampled client shows local scoring and a WebSocket client; the README describes broader capabilities, while server implementation details and several screens were not excerpted, so those connections are shown only where documented or clearly marked unverified.
Main entry points: App.jsx App coordinator · Games.jsx Game hub · Challenge.jsx Sign challenge · Practice.jsx Practice lesson
Components 24
App flow
- App coordinator
src/App.jsx - Sign in
src/screens/SignIn.jsx - Onboarding
src/screens/Onboarding.jsx - Learning path
src/screens/Home.jsx - Progress
src/screens/Progress.jsx - 3D scene props
src/components/Props3D.jsx
Sign learning
- Sign curriculum
src/data/curriculum.js - Practice lesson
src/screens/Practice.jsx - Camera tracking
src/components/Camera.jsx - Pose features
src/lib/features.js - Sign scoring
src/lib/scoring.js - 3D wizard coach
src/components/Wizard3D.jsx - 3D sign hand
src/components/Hand3D.jsx
Games and social
- Sign challenge
src/components/Challenge.jsx - Game hub
src/screens/Games.jsx - Online battle
src/screens/OnlineBattle.jsx - Leaderboard and teams
src/screens/Social.jsx
Runtime services
- Local accounts
src/store/auth.js - Learner state
src/store/profile.js - WebSocket client
src/lib/net.js - Game server
server/server/index.js - Server persistence
server/server/persist.js
Other components
- Learner
- MediaPipe models
Connections 36
- Learner → App coordinator: uses
README.md - App coordinator → Sign in: routes to
src/App.jsx - App coordinator → Onboarding: routes to
src/App.jsx - App coordinator → Learning path: routes to
src/App.jsx - App coordinator → Practice lesson: routes to
src/App.jsx - App coordinator → Progress: routes to
src/App.jsx - App coordinator → Game hub: routes to
src/App.jsx - App coordinator → Local accounts: authenticates with
src/App.jsx - App coordinator → Learner state: loads and saves
src/App.jsx - App coordinator → WebSocket client: sends player status
src/App.jsx - App coordinator → 3D wizard coach: renders
src/App.jsx - App coordinator → 3D scene props: renders
src/App.jsx - Learning path → Sign curriculum: reads lessons
src/screens/Home.jsx - Practice lesson → Sign curriculum: reads sign targets
src/screens/Practice.jsx - Practice lesson → Camera tracking: receives frames
src/screens/Practice.jsx - Practice lesson → Sign scoring: scores signs
src/screens/Practice.jsx - Practice lesson → Pose features: derives pose cues
src/screens/Practice.jsx - Camera tracking → MediaPipe models: tracks hands and face
src/components/Camera.jsx - Camera tracking → Pose features: summarizes face
src/components/Camera.jsx - Sign challenge → Camera tracking: receives frames
src/components/Challenge.jsx - Sign challenge → Sign curriculum: reads sign targets
src/components/Challenge.jsx - Sign challenge → Sign scoring: scores signs
src/components/Challenge.jsx - Sign challenge → Pose features: checks palm direction
src/components/Challenge.jsx - Game hub → Sign challenge: starts challenges
src/screens/Games.jsx - Game hub → Online battle: opens battle
src/screens/Games.jsx - Game hub → Leaderboard and teams: opens social tabs
src/screens/Games.jsx - Game hub → Sign curriculum: chooses game signs
src/screens/Games.jsx - Game hub → WebSocket client: reads player identity
src/screens/Games.jsx - Online battle → Sign challenge: runs each round
src/screens/OnlineBattle.jsx - Online battle → Sign curriculum: chooses targets
src/screens/OnlineBattle.jsx - Online battle → WebSocket client: sends and receives match data
src/screens/OnlineBattle.jsx - Leaderboard and teams → WebSocket client: uses shared connection
src/screens/Social.jsx - 3D wizard coach → 3D sign hand: renders sign demo
src/components/Wizard3D.jsx - WebSocket client → Game server: connects by WebSocket
- Game server → Server persistence: uses persistence
server/server/index.js - Game server → Learner: supports online play
README.md