Hi, I'm Bluekattz...

I don't really have any programming experience about Java.
We have to make a gaming software which includes a dice game and paper-rock-scissor games.
In the dice game, the user will chose between 1-6, then the computer will roll three dice by randomly generating 3 numbers from 1-6.If the user's number does not appear in any of the three numbers, then he player will lose 2 points while the computer will gain 2 points. If the user's number appears once, twice or thrice, then the user will gain 1 pt, 2pt., or 3 points respectively, while the computer lose the corresponding points.. The computer and the player will both have 1- points each. The game will continue until one gets 0, or until the user would want to quits the game. the running total of the points should always be shown.
In the Paper- rock- Scissor game, the computer will ask the player to choose among the three choices(paper, rock or scissor)and then the computer will randomly choose among the three. The winner will get 1 point, while the points of the loser will get subtracted by 1 pt. In case of tie, no point will be given or subtracted. The game will continue until one gets 0, or until the user would want to quits the game. the running total of the points should always be shown.
Here is my code in for the dice game:import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.Random;
public class DiceGame{
/**
* An object of Dice Game represents three dice,
* where each die shows a number between 1 and 6. The dice
* can be rolled, which randomizes the numbers showing on the
* dice.
*/
public static int enterValue(){
BufferedReader dataln = new BufferedReader(new InputStreamReader(System.in));
String Choices="";
int numChoices;
System.out.print("Please enter a number:");
try{
Choices = dataln.readLine();
}
catch(IOException e){
System.out.println("Error!");
}
numChoices = Integer.parseInt(Choices);
return numChoices;
}
public static void main (String[]args){
int choices, n;
choices = enterValue();
Random random = new Random();
n = random.nextInt(2);
}
}
Here is my code for the Paper-Rock-scissor Game:import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.Random;
public class Game1{
public static int enterValue(){
BufferedReader dataln = new BufferedReader(new InputStreamReader(System.in));
String Choices="";
int numChoices;
System.out.print("Please enter a number:");
try{
Choices = dataln.readLine();
}
catch(IOException e){
System.out.println("Error!");
}
numChoices = Integer.parseInt(Choices);
return numChoices;
}
public static void main (String[]args){
int choices, n;
choices = enterValue();
if(choices==1)
System.out.println("You chose: ***** PAPER *****");
else if (choices==2)
System.out.println("You chose: ()()() ROCK ()()()");
else if (choices==3)
System.out.println("You chose: >>>>> SCISSOR <<<<<");
else
System.out.println("Choose between the numbers 1, 2 and 3 only");
Random random = new Random();
n = random.nextInt(2);
if(n==0)
System.out.println("The computer chose: ***** PAPER *****");
else if (n==1)
System.out.println("The computer chose: ()()() ROCK ()()()");
else
System.out.println("The computer chose: >>>>> SCISSOR <<<<<");
if(n==0&&choices==2)
System.out.println("Computer wins");
else if(n==0&&choices==3)
System.out.println("You win");
else if(n==1&&choices==1)
System.out.println("You win");
else if(n==1&&choices==3)
System.out.println("Computer wins");
else if(n==2&&choices==1)
System.out.println("Computer wins");
else if(n==2&&choices==2)
System.out.println("You win");
else
System.out.println("It's a tie!");
}
}
I don't have any idea how to continue it.... So please help me.. I needed your response immediately... Thanks!