![]() ![]() Each element can hold either the player's or computer's symbol, or be null, indicating an empty spot. The game logic is based on an array with 9 elements (0-8) representing the state of the board. Playing against the computer (which I programmed to be my assistant) is already fun, but then I had an idea: what if the opponent was ChatGPT itself? Pretty neat, right? Give it a try.Īside from the cool animations and sound effects, I also spent quite some time working on the game logic to make it as efficient as possible. It's got all sorts of sound effects and animations that make it feel like you're really in the game. Just the other day, I whipped up this super fun and addictive Tic-Tac-Toe game using Next.js. ![]() And now with the API out, the possibilities are endless! Ever since ChatGPT showed up at our doorstep, we've been seeing a ton of cool apps popping up left and right.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |