How saroasahamed/skills-deploy-to-azure works
This repository contains a small browser-based tic-tac-toe game, alongside an AWS Lambda handler that serves its page and static assets. The player-facing flow collects names, starts a game, records turns, detects a winner, updates scores, and allows replay. The browser controller coordinates the game rules in src/game.js. The README describes an Azure deployment course rather than documenting this runtime; the graph focuses on implemented product behavior. The built public/main.js is referenced by the handler but is absent from the tree, so it is not represented as a repository node.
Main entry points: index.js Game controller · handler.js Lambda handler · game.js Game rules · index.html HTML page
Components 6
Browser game
- Game controller
src/index.js - Game rules
src/game.js
Page serving
- Lambda handler
handler.js - HTML page
index.html - Stylesheet
public/index.css
Other components
- Players
Connections 6
- Players → Game controller: enter names, play
src/index.js - Game controller → Game rules: creates and calls
src/index.js - Game controller → Game rules: checks winner
src/index.js - Players → Lambda handler: requests page
- Lambda handler → HTML page: serves
handler.js - Lambda handler → Stylesheet: serves
handler.js