salmanazamdev/tic-tac-toe ? reverse-engineered prompt

Reverse engineered prompt

Build me a polished tic tac toe web game that opens in the browser and feels fun to play.

It should let two people take turns as X and O, show whose turn it is, prevent moves in already used squares, and clearly detect wins, losses, and ties. When someone wins, show a nice winning message and play sound effects for moves and the end of the game. I also want it to look modern and clean, with the board centered on the page, smooth interactions, and a background video behind the game for extra flair.

Please make it responsive so it still looks good on smaller screens, and keep the code simple enough that I can understand and tweak it later. If needed, look up current browser friendly ways to handle video, audio, and basic game logic. Use separate HTML, CSS, and JavaScript files, and make sure it works by just opening the main HTML file in a browser.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab