Search:

Type: Posts; User: XP360

Search: Search took 0.18 seconds.

  1. Replies
    1
    Views
    511

    [SOLVED] Java Simple Rectangle Program Error

    public class RectangleObjects {
    public static void main(String[] args) {
    //Create a rectangle with width of 4 and height of 40
    SimpleRectangle rectangle1 = new SimpleRectangle();...
  2. Replies
    7
    Views
    992

    Re: Tic-Tac-Toe Invalid Moves

    gamePiece function I redid it and it works fine now but I am not really catching what you are saying about board. I kinda understand kinda don't,
    Thanks for your words.
  3. Replies
    7
    Views
    992

    Re: Tic-Tac-Toe Invalid Moves

    Ok, I found the problem to invalid move-EMPTY after changing to '\u0000' only in the boolean gamepiece the code worked


    static boolean gamePiece(char[][] board, int row, int column, char...
  4. Replies
    7
    Views
    992

    Re: Tic-Tac-Toe Invalid Moves

    debug nothing wrong

    System.out.println("board="+java.util.Arrays.deepToString(board));
    board=[[C@27ce0eca, [C@492d0430, [C@2a6e10d8]
  5. Replies
    7
    Views
    992

    Tic-Tac-Toe Invalid Moves

    Every move I make is invalid, help.

    i.e.

    Enter a row (0, 1, or 2) for player X: 0
    Enter a Column (0, 1, or 2) for player X: 0
    Invalid move
    Enter a row (0, 1, or 2) for player X: 0
    Enter a...
  6. Re: Craps is a popular dice game played in casinos. Write a program to play a variation of the game.

    ahahhaaha Thanks dude but no thank for your dice lessons =).
  7. Craps is a popular dice game played in casinos. Write a program to play a variation of the game.

    Craps is a popular dice game played in casinos. Write a program to play a variation of the game, as follows: Roll two dice. Each die has six faces representing values 1, 2, . . ., and 6,...
Results 1 to 7 of 7