How sweisscct/sep24b-tiktaktoe works
A small browser-based, two-player tic-tac-toe game. Players submit names, then click cells to place alternating X/O marks. The shown code updates and disables name-entry controls and calls win/draw checks, but their implementations are not shown; the HTML and styling files were not sampled.
Main entry points: index.html Game interface · script.js Game logic
Components 3
Other components
- Player
- Game interface
index.html - Game logic
script.js
Connections 3
- Player → Game interface: enters names, clicks cells
- Game interface → Game logic: dispatches clicks
script.js - Game logic → Game interface: updates controls and marks
script.js