Search:

Type: Posts; User: d34dli

Search: Search took 0.47 seconds.

  1. Replies
    4
    Views
    17

    Re: TicTactoe program on BlueJ

    okay.

    --- Update ---



    I used the equals() method, then I had some nullpointer error which i fixed in the constructor. Thanks :)
  2. Replies
    4
    Views
    17

    Re: TicTactoe program on BlueJ

    the code works fine when I ran tests with this segment of code in the main method


    game.assignMove("o",1);
    game.assignMove("o",4);
    game.assignMove("o",7);

    ...
  3. Replies
    4
    Views
    17

    TicTactoe program on BlueJ

    I'm currently writing this TicTacToe program on BlueJ.....and for some reason the while loop in the main method runs infinitely



    import java.util.Scanner;

    public class TicTacToe
    {

    ...
Results 1 to 3 of 3