Hey everyone, if anyone could take a look at this TicTacToe game I would greatly appreciate it. I’m having an issue for one player I can’t seem to get the code just right for the computer to always win. https://codepen.io/chrisandsuch/pen/XZRYZE
no offense but your ai is a bit dumb on your tictactoe
@flyfishingbarbara Instead of messing around with global variables, make your buttons hyperlinks (keep the class names the same so they still look like buttons). Then you can just update the href= value for the twitter link every time someone clicks "Get Quote"
Do everything in your getJSON callback function so the data is in scope
(be sure to add target="_blank" for codepen)
Hey all, I'm looking for a good, offline IDE that I can use to collaborate with friends on HTML/CSS docs...Hopefully something that allows me to either preview the code or launch it. I tried Notepad++ with NppDocShare however the plugin is apparently no longer compatible with recent versions. I also tried CodeShare.io ans was not at all impressed... Any ideas?