Package handCricket
Class handCricket
java.lang.Object
handCricket.handCricket
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
batting_OR_bowling
(int choice, int balls, handCricket.Team[] teamA, handCricket.Team[] teamB, int teamSize, String teamA_Name, String teamB_Name) static void
calculateRuns
(int balls, handCricket.Team[] teamBatting) static void
display
(handCricket.Team[] teamA_Details, handCricket.Team[] teamB_Details, String teamA, String teamB, int teamSize) static void
static boolean
isWonToss
(char ch) static void
static int
scoreboard
(handCricket.Team[] teamD, String team, int teamSize) static handCricket.Team[]
TeamA_Registation
(int teamSize) static handCricket.Team[]
TeamB_Registation
(int teamSize)
-
Constructor Details
-
handCricket
public handCricket()
-
-
Method Details
-
TeamA_Registation
public static handCricket.Team[] TeamA_Registation(int teamSize) -
TeamB_Registation
public static handCricket.Team[] TeamB_Registation(int teamSize) -
isWonToss
public static boolean isWonToss(char ch) -
display
-
scoreboard
-
instruction
public static void instruction() -
calculateRuns
public static void calculateRuns(int balls, handCricket.Team[] teamBatting) -
batting_OR_bowling
-
main
- Throws:
Exception
-