Near-Reality RSPS - Runescape Private Server
Forums

dcomputer

Respected Premium
  • Content count

    168
  • Joined

  • Last visited

1 Follower

About dcomputer

  • Rank
    Senior Member
  • Birthday April 27

Profile Information

  • Gender

Recent Profile Visitors

243 profile views
  1. java

    I had to put that in there or it wouldn't work with out it. I didn't have it in there at 1st . but thank u for trying it worked! thank u very much and that makes sense . much love
  2. yay feels g00d rdi 0pz

    gratz!!
  3. Game Updates | 3/18/2019

    great work keep it up. bout time we have some one that cares n can code
  4. Selling 2x Golden Feather

    me to hmu in game when u on
  5. java

    I wrote it in there but it give me same msg and it wont - from 1000 if I lose roll now. I put code back to what it was. here is da hole thing. mayb I just miss put something in there package test2; import java.util.*; public class Testcode { static int money; static String userName; static Scanner in = new Scanner(System.in); static Random random = new Random(); public static void main(String[] args) { System.out.println("please enter yout username..."); userName=in.nextLine(); System.out.println("welcome" + userName + "!"); money=10000; rollDice(); } public static void rollDice() { System.out.println("you have: $" + money); System.out.println("what number would u like to bet on? (1-6)?"); int betRoll = in.nextInt(); System.out.println("how much would u like to bet?"); int betMoney = in.nextInt(); while (betMoney > money); { System.out.println("you dont have that much money! you have: $" + money + ". please enter your bet..."); betMoney=in.nextInt(); } int dice; dice = random.nextInt(6)+1; if (betRoll==dice) { System.out.println("you have won! you win" + betMoney * 6); money+=betRoll*6; } else { System.out.println("you lost!"); money-=betMoney; } if (money <= 0) { System.out.println("you are broke!"); } else { rollDice(); } } }
  6. java

    I just started learning java and I have this dice game. it works but u bet on a number. after that it ask how much r u going to bet. when u put a number in there it tells u that u don't have enuf money while I know u do. (u start with 1000) after u get that msg u just type ur amount u want to bet again and it will work. y does it tell me I don't have enuf money when I do? here part of da code if u need da hole code let me know. also any one willing to teach me some stuff I would love. I do concert const. im rdy to start getting back in to coding (been out of it for going on 7 yrs now) public static void rollDice() { System.out.println("you have: $" + money); System.out.println("what number would u like to bet on? (1-6)?"); int betRoll = in.nextInt(); System.out.println("how much would u like to bet?"); int betMoney = in.nextInt(); while (betMoney > money); { System.out.println("you dont have that much money! you have: $" + money + ". please enter your bet..."); betMoney=in.nextInt(); } int dice; dice = random.nextInt(6)+1; if (betRoll==dice)
  7. Game Updates | 3/17/2019

    nice thank u!
  8. me

    welcome back
  9. wanted forum sig

    +1 I never thought of that for some reason... *hits blunt* I want one to!
  10. BANDOS LOVES ME

    damn nice
  11. Hi, I'm Chaflie!

    welcome man glad to have u
  12. wb

    thxz ikr
  13. wb

    lmao
  14. wb

    thxz thxz bro
  15. Add BIS\2nd BIS Boots

    2nd bis
Contains New Posts   Forum Contains New Posts
Contains No New Posts   Forum Contains No New Posts