Search:

Type: Posts; User: ronimacarroni

Search: Search took 0.51 seconds.

  1. Replies
    9
    Views
    1,236

    Re: shuffling help

    Yeah I'm trying to do the riffle shuffle.
    I think sawpping the odd/even indices is how it would be done right?
  2. Replies
    9
    Views
    1,236

    shuffling help

    I want to make a shuffling class.
    What it would do would be to switch the places of odd numbers and even numbers of cards
    So instead of
    1
    2
    3
    4
    5
    6
    It'd be
  3. Re: constructor with an arraylist parameter?

    Thank you, that worked. :-bd
  4. Re: constructor with an arraylist parameter?

    Thanks for the answer, but I tried it and it said "package does not exists <identifier required>

    Apparently I can only create an arraylist in the main class.
  5. constructor with an arraylist parameter?

    I'm making a card game and I want to make a shuffle class to randomize the cards.
    I'm using an arraylist to store all the cards and I was planning on using the arraylist as a parameter for my...
Results 1 to 5 of 5