How taprenittya-eng/frontend works
This repository appears to be a collection of small browser-based demos: form validation, two games, a Bootstrap site, and an Amazon-style storefront page. The sampled JavaScript supports the form and game interactions; the README is empty, and the Bootstrap and storefront source was not sampled, so their behavior and wiring are left unspecified.
Main entry points: rps.js Round handling · rps.html Game interface · tictac.html Game board · form_validation.html Registration form
Components 15
Form validation
- Registration form
Form_validation/form_validation.html - Field validation
Form_validation/form_validation.js - Validation alerts
Form_validation/form_validation.js - Submission page
Form_validation/form_validation_submit.html
Rock Paper Scissors
- Game interface
Rock-Paper-Scissors_Game/rps.html - Round handling
Rock-Paper-Scissors_Game/rps.js - Computer choice
Rock-Paper-Scissors_Game/rps.js - Score and outcome
Rock-Paper-Scissors_Game/rps.js
Tic Tac Toe
- Game board
Tic-Tac-Toe_Game/tictac.html - Turn handling
Tic-Tac-Toe_Game/tictac.js - Win and draw checks
Tic-Tac-Toe_Game/tictac.js - Game result
Tic-Tac-Toe_Game/tictac.js
Static sites
- Bootstrap site
Bootstrap Site/Site - Storefront page
amazon_clone/amazon.html
Other components
- Visitor
Connections 15
- Visitor → Registration form: fills fields
- Registration form → Field validation: validates input
- Field validation → Validation alerts: shows errors
- Visitor → Game interface: chooses move
- Game interface → Round handling: handles click
- Round handling → Computer choice: generates choice
- Round handling → Score and outcome: updates score
- Score and outcome → Game interface: updates display
- Visitor → Game board: plays move
- Game board → Turn handling: handles click
- Turn handling → Win and draw checks: checks board
- Win and draw checks → Game result: reports outcome
- Game result → Game board: updates display
- Visitor → Bootstrap site: views site
- Visitor → Storefront page: views storefront