-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProvaGioco.java
More file actions
39 lines (38 loc) · 2.86 KB
/
ProvaGioco.java
File metadata and controls
39 lines (38 loc) · 2.86 KB
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
/*public class ProvaGioco{
public static void main(String[] args){
Gioco gioco = new Gioco(3, 8);
System.out.println("------------Black Jack---------------------");
gioco.gioca();
}
}
*/
public class ProvaGioco{
public static void main(String[] args){
Gioco gioco = new Gioco(2, 4);
String welcome=" .----------------. .----------------. .----------------. .----------------. .----------------.\n"+
"| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |\n"+
"| | ______ | || | _____ | || | __ | || | ______ | || | ___ ____ | |\n"+
"| | |_ _ \\ | || | |_ _| | || | / \\ | || | .' ___ | | || | |_ ||_ _| | |\n"+
"| | | |_) | | || | | | | || | / /\\ \\ | || | / .' \\_| | || | | |_/ / | |\n"+
"| | | __'. | || | | | _ | || | / ____ \\ | || | | | | || | | __'. | |\n"+
"| | _| |__) | | || | _| |__/ | | || | _/ / \\ \\_ | || | \\ `.___.'\\ | || | _| | \\ \\_ |\n"+
"| | |_______/ | || | |________| | || ||____| |____|| || | `._____.' | || | |____||____| | |\n"+
"| | | || | | || | | || | | || | | |\n"+
"| '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |\n"+
" '----------------' '----------------' '----------------' '----------------' '----------------' \n"+
" \n"+
" .----------------. .----------------. .----------------. .----------------. \n"+
" | .--------------. || .--------------. || .--------------. || .--------------. | \n"+
" | | _____ | || | __ | || | ______ | || | ___ ____ | | \n"+
" | | |_ _| | || | / \\ | || | .' ___ | | || | |_ ||_ _| | | \n"+
" | | | | | || | / /\\ \\ | || | / .' \\_| | || | | |_/ / | | \n"+
" | | _ | | | || | / ____ \\ | || | | | | || | | __'. | | \n"+
" | | | |_' | | || | _/ / \\ \\_ | || | \\ `.___.'\\ | || | _| | \\ \\_ | | \n"+
" | | `.___.' | || ||____| |____|| || | `._____.' | || | |____||____| | | \n"+
" | | | || | | || | | || | | | \n"+
" | '--------------' || '--------------' || '--------------' || '--------------' | \n"+
" '----------------' '----------------' '----------------' '----------------' \n";
System.out.println(welcome);
gioco.gioca();
}
}