-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRoulette.java
66 lines (49 loc) · 2.29 KB
/
Roulette.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import java.util.*;
//************************************************************************
// Class Roulette contains the main driver for a roulette betting game.
//************************************************************************
class Roulette {
// =====================================================================
// Contains the main processing loop for the roulette game.
// =====================================================================
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
// Player player1 = new Player("Jane", 60); // $60 to start for Jane
// Player player2 = new Player("Mark", 60); // getting another player into the game
// boolean done = false, done1 = false;
System.out.println("Authors: ");
System.out.println(" Subham Thakulla Kshetri");
System.out.println(" Matthew Pinada");
System.out.println(" Jose Sanchez");
Dis.display3();
for (int i = 0; i < Game.playersInGame.size(); i++) {
System.out.println( "Money available for " + Game.playersInGame.get(i).getName() + ": " + Game.playersInGame.get(i).getMoney());
}
// while (!done || !done1) {
// if (done == false) {
// System.out.println("Money available for " + player1.getName() + ": " + player1.getMoney());
// player1.makeBet(scan);
// System.out.println();
// }
// if (done1 == false) {
// System.out.println("Money available for " + player2.getName() + ": " + player2.getMoney());
// player2.makeBet(scan);
// System.out.println();
// }
// Wheel.spin();
// if (done == false) {
// player1.payment();
// done = !player1.playAgain(scan);
// }
// if (done1 == false) {
// player2.payment();
// done1 = !player2.playAgain(scan);
// }
System.out.println();
// System.out.println(player1);
// System.out.println(player2);
// System.out.println();
// System.out.println("------------Game over! Thanks for playing.---------------");
// scan.close();
}
}