Hey guys i'm still a noobie with javascript so I hope you guys will be able to help! I was able to create a simple html5 tic tac toe game. I'm just having trouble on how to go about checking if three X or O's are on the same line to end t...
I was following a tutorial on Youtube (The Coding Train) which was making a minesweeper game. I followed the video until I had make a X. I want to make to lines that cross each other and form a big x like this:  The board with a X   The problem I hav...
I'm trying to develop a Tic-Tac-Toe game with an unbeatable AI and am at a point where my negamax function returns correct output most of the time. At times, though, under certain predictable conditions, the computer chooses a board move that doe...
I am currently writing a basic Tic Tac Toe game (multiplayer, no AI) using web (HTML, CSS, Javascript). The game logic obviously is all within the Javascript. I have a question. The following is my code.  window.onload = function () {     console.log...
Can someone... anyone, help me figure out why when the 'fourCorners' function is activated, it fills in 2 boxes instead of one. Any assistance would be greatly appreciated.  Here's a link to my code: https://codepen.io/DRick504/pen/bRGgRJ...
I'm new to the JavaScript world and I was hoping that you  would help me on the basic level of coding.  How to make my Tic-Tac-Toe (X and O Choices) only in one function? I also would like to select the cell instead of the hidden button.  I tried...
I have some javascript code while trying to code a tic tac toe game, but  chrome developer tool gives this error  Uncaught TypeError: Cannot read property 'length' of undefined I've found that when I comment  'isEnd(bigArray[i][j]);&#...
I am a relatively new developer learning by doing in JS. I'm trying to create a simple TicTacToe game with vanillaJS.   Right now I have three 'modules' (they're really just object literals): Board, Player, and TicTacToe (basically ju...
I am week 2 in learning Javascript building a game of Tic Tac Toe and want to record how many wins X or O has had - this is a basic question but I need to get used to the logic I declared two global variables var xWins = 0 & var xWins = 0 ..can&#...
I am now working on a tic-tac-toe game in jQuery that has a built-in-timer function. The reasoning behind this function is that a player has 10 seconds to pick a space on the board for their X or O before the timer runs out and they receive an alert...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.