Search:

Type: Posts; User: monikathelover1999

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    814

    Re: TicTacToe Game errors

    Okay, that fixed that error, but now I'm getting these.

    Exception in thread "main" java.lang.NullPointerException
    at tictactoeguigame.TicTacToeGUIGame.getOutcome(TicTacToeGUIGame.java:29)
    at...
  2. Replies
    7
    Views
    814

    Re: TicTacToe Game errors

    at tictactoeguigame.TicTacToeGUIGame.main(TicTacToeGUIGame.java:18)

    if(getOutcome == Outcome.PLAYER1_WIN)
  3. Replies
    7
    Views
    814

    Re: TicTacToe Game errors

    I revised the code to include comments and this is what the compiler says.

    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - cannot find symbol
    symbol: ...
  4. Replies
    7
    Views
    814

    TicTacToe Game errors

    Hello. I'm to get this TicTacToe program to stop and display the winner (or if there's a tie) and stop when the game ends. I'm trying to do this by getting the main method to read the output from the...
  5. Replies
    7
    Views
    803

    Re: TicTacToe error

    Oh wow, you're right.
  6. Replies
    7
    Views
    803

    Re: TicTacToe error

    Ah, that worked. Thank you!
  7. Replies
    7
    Views
    803

    Re: TicTacToe error

    It compiles fine for me, it's just displaying the board improperly.
  8. Replies
    7
    Views
    803

    TicTacToe error

    Hello, I'm trying to get this code to display a tic tac toe game, but it displays as 9 slim buttons in a row instead of a 3 x 3 grid as it should. Can someone tell me why this is happening?


    ...
  9. Replies
    10
    Views
    791

    [SOLVED] Re: Game Board Help

    Okay, I think I got it now.
  10. Replies
    10
    Views
    791

    [SOLVED] Re: Game Board Help

    It'll need to take the string arguments from the Mark.java class which are "O","X","Y","R","B","G","M","N".

    It well then need to set these onto the board at random locations.

    Then it should...
  11. Replies
    10
    Views
    791

    [SOLVED] Re: Game Board Help

    Okay. So, the code is supposed to create three boards like this.

    | | | |
    ———-

    | | | |
    ———-

    | | | |
    ———-
  12. Replies
    10
    Views
    791

    [SOLVED] Re: Game Board Help

    The method is empty, I'm trying to figure out what I should put in it.

    The marks are a group of string used to mark a location on the boards, they're stored in a class called Mark.java, should I...
  13. Replies
    10
    Views
    791

    [SOLVED] Re: Game Board Help

    Yes.

    The Random Location is supposed to select a random location on the game boards to put the corresponding marks on, and getRandom is supposed to extract that mark from the class.
  14. Replies
    10
    Views
    791

    [SOLVED] Game Board Help

    Hello, I'm trying to get this program to test three different game boards and put them in three separate files. I have everything working except the RandomLocation method, which I'm struggling to...
  15. Replies
    6
    Views
    784

    [SOLVED] Re: File Errors

    Ah, that method is empty which is likely the problem.
  16. Replies
    6
    Views
    784

    [SOLVED] Re: File Errors

    Okay, is this it?


    cannot find symbol
    symbol: method getRandom(int)
    location: variable rl of type RandomLocation
  17. Replies
    6
    Views
    784

    [SOLVED] Re: File Errors

    I don't see anything like that in the compiler, just the output.
  18. Replies
    6
    Views
    784

    [SOLVED] File Errors

    Hello. I'm trying to get this code to work and I need help with the RandomLocation method.



    package boardgametester;

    import games.board.*;
    import games.utilities.*;

    public class...
  19. Replies
    0
    Views
    713

    First Post

    Trying to fix a glitch.
Results 1 to 19 of 19