Search:

Type: Posts; User: CaliRocks

Search: Search took 0.07 seconds.

  1. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    I'm not exactly sure why the instructor had us use "markTheBoard(Marker m, int pos)". I don't know what to do with 2 parameters, but he specifically said we cannot change it. I don't know what the...
  2. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    Oh cool! Thank you. Here's the paste:

    C:\Users\Thao\Java\jdk1.7.0_40\bin>javac TicTacToe.java
    TicTacToe.java:57: error: ')' expected
    markTheBoard(Marker m, int...
  3. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    I don't use an IDE. The instructor said to not use an IDE, just use Notepad++ and "cmd". I'll attach the error images again here. I had to use Paint to take the screen pics:

    2447
    2448
    2449...
  4. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    Here's what I have again:

    import java.util.*;

    public class TicTacToe
    {
    public enum Marker
    {
    EMPTY,
    X,
  5. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    I don't know how to upload the error screen. So I just used Paint to take screen pics and attaching it to this thread:

    2443244424452446
  6. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    I added brackets in and still received the same errors.

    some of the errors are:

    error: illegal start of expression
    markTheBoard(Marker m, int pos);
    error: not a statement
    ...
  7. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    It's an assignment. The point is to see if we can construct a TicTacToe game without using arrays. Here's what I have so far, but I keep getting errors:

    import java.util.*;

    public class...
  8. Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    Can anyone help me construct a Java program that plays TicTacToe without using Arrays?
  9. Re: I'm a beginning Java student and really struggling with this assignment. PLEASE HELP!

    Here's what I have so far:

    import java.util.*;
    /**
    * Represents a tic tac toe board on the console, positions are shown below:
    * -------------
    * | 1 | 2 | 3 |
    * -------------
    * | 4 |...
  10. I'm a beginning Java student and really struggling with this assignment. PLEASE HELP!

    I have to create a TicTacToe game that accepts user input of positions 1 - 9. I started with a few functions but then now I'm totally lost with taking into considerations all the possible...
Results 1 to 10 of 10