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'm trying to build a basic tic tac toe game in angular 1. When I click on a square I want to either add X or O depending on the turn. I cannot figure out how to do that. I can do it in jquery but I want to do it in angular.   <div class="...
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 create a system to have the names of the players how get the 2 values of the names  I create 2 input text and I want take the 2 values to show the name's players but I can not:  HTML:  <section id="first_section" class="first_sec...
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'm making a tic-tac-toe game, the functions works perfectly for the user turn, but when it comes for the computer turn to play, the functions break down and give unexpected result like playing two times, skip the turn and so.   can anyone tell m...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.