Search:

Type: Posts; User: OPTYMISTA

Search: Search took 0.24 seconds.

  1. Replies
    10
    Views
    254

    Re: Some trubles with a simple program

    I have assumed the value of array "arrayPOINTS" in omGang-method. Here:

    next_kast = terning.roll();
    sum = sum + next_kast;
    System.out.println(sum);
    ...
  2. Replies
    10
    Views
    254

    Re: Thanks for help

    Player object:


    package practice5;

    import java.util.Scanner;

    public class Player {

    String player;
  3. Replies
    10
    Views
    254

    Re: Some trubles with a simple program

    Now I've figured out how I refer each player object to different array-position. Such as 1779. Now I want to do the same thing with points. I've written an extra statement in "omGang()" that says:
    ...
  4. Replies
    10
    Views
    254

    Some trubles with a simple program

    I have to write a simple "Black Jack" game with dices. Game can have random number of players.
    At the beginning of the game each player roll 3 dices. Program have to add values of the dices and show...
Results 1 to 4 of 6