Just a simple two player Tic Tac Toe game in the browser
Github Copilot for suggestions on how to optimize code (Ex: It helped me come up with the system that determines if a player wins the game)
Just a simple two player Tic Tac Toe game in the browser
Github Copilot for suggestions on how to optimize code (Ex: It helped me come up with the system that determines if a player wins the game)
There’s a web U.I. now, and you can actually play the game! Now I wouldn’t call the U.I. a work of art, but hey it works. Now I am debating if I should over complicate this project after that or just pretty it up and ship it…We’ll see.
Log in to leave a comment
Just made the base game logic. You can’t play it in the terminal (I didn’t make a CLI), but I tested it with preset method calls and it worked. Now I just have to attach it to a web U.I. so that you can actually play it.
Here are the method calls for the terminal output in the image below. Once again I haven’t made a U.I. or CLI, so I don’t have much to show off right now.
grid.place(player1, 2);
grid.place(player1, 5);
grid.place(player1, 8);
grid.place(player1, 7);
grid.place(player1, 4);
Log in to leave a comment