About 61,100 results
Open links in new tab
  1. tic tac toe - TicTacToe with GUI in Java - Stack Overflow

    Dec 23, 2019 · As an aside, tic-tac-toe is simpler to code if you use a plain old array, rather than the 2D variety.

  2. java - testing tic tac toe win condition - Stack Overflow

    Aug 31, 2013 · Make your tic tac toe board a class, and encapsulate the grid within it. Use a method, say checkEndCondition (), to determine whether the game is over. In this way, you …

  3. Algorithm for Determining Tic Tac Toe Game Over - Stack Overflow

    Jun 29, 2009 · I've written a game of tic-tac-toe in Java, and my current method of determining the end of the game accounts for the following possible scenarios for the game being over: The …

  4. (Java) Tic-Tac-Toe game using 2 dimensional Array

    Oct 9, 2016 · In class, our assignment is to create a two-dimensional array and create a tic-tac-toe game around it. I have everything done except displaying when the whole board is full and …

  5. TicTacToe Java - check for winner - Stack Overflow

    Oct 25, 2013 · Here is my code. I am trying to check for the winner. I am only a beginner, so please make it easy. I wanted the board to change sizes. So, I want the check for winner can …

  6. Tic Tac Toe Java Game - Stack Overflow

    I made a Tic Tac Toe game in java. I have finished the code, but I am not sure how I would check to see if there is a winner in the diagonals. What I tried to put in is: win[x] += (board[0][2] + b...

  7. Tic Tac Toe java - Stack Overflow

    Jun 9, 2012 · 1 I'm a beginner of learning Java programming and I'm doing the game of tic tac toe. When I finish my game, I can't continue to play the game, because the program will exit. …

  8. java - Player vs. computer tic tac toe game code - Stack Overflow

    The whole objective of the project is to create a one player vs computer tic tac toe game. I have found success in creating a game board object and entering certain chars in the array.

  9. Tic-Tac-Toe Console Game in Java - Code Review Stack Exchange

    I recently started learning Java and decided to create a project to practice. I developed a console-based tic-tac-toe game. I also wrote tests for some of the classes, not because they were …

  10. swing - Tic Tac Toe Using GUI in Java - Stack Overflow

    May 21, 2024 · I made a tic_tac_toe game using GUI in java as an end of Semester Project. There are logical errors in the 'CheckWInner' and 'ComputerMove' Methods. I want to improve …