Search:

Type: Posts; User: Diehardwalnut

Search: Search took 0.45 seconds.

  1. Replies
    10
    Views
    573

    Re: Concept and syntax in mancala

    Okay so i changed somethings around and finally got it to compile and run here is the new program.


    import java.util.Scanner;
    import java.util.Random;

    public class Mancala
    {
    public...
  2. Replies
    10
    Views
    573

    Re: Concept and syntax in mancala

    I dont fully understand what you mean. Now that i changed


    public static void line(int step,int partial, int[] POCKETS)

    i have to change the code but how? ive tried


    line(...
  3. Replies
    10
    Views
    573

    Re: Concept and syntax in mancala

    Yes


    public static void line(int step, int partial)

    was changed to


    public static void line(int step, int partial,int[] POCKETS)
  4. Replies
    10
    Views
    573

    Re: Concept and syntax in mancala

    Actually now that you mention it, i was having issues with compiling. What the program does is print the board through a series of "*" with POCKETS, holes in the game that hold a certain number of...
  5. Replies
    10
    Views
    573

    Concept and syntax in mancala

    I've made the majority of the program , however, I've been avoiding the most crucial part of the program. Allowing the user to select the pocket they want to play is something i cant figure out how...
Results 1 to 5 of 5