-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSpiel.java
More file actions
32 lines (31 loc) · 800 Bytes
/
Copy pathSpiel.java
File metadata and controls
32 lines (31 loc) · 800 Bytes
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
import java.util.*;
import java.io.*;
import java. awt.*;
public class Spiel
{
static GameManager G;
static Konsole konsole;
public static void main(String[] args)
{
konsole = new Konsole();
konsole.build();
while(true)
{
konsole.printD("System",0);
konsole.printD("System",1);
konsole.getInput();
G = new GameManager();
konsole.setBackground(13,42, 40, 255);
konsole.setImage("astart");
konsole.println("Willst du nochmal Spielen ?");
if(konsole.compareInput("Ja", konsole.getInput()) )
{
konsole.clear();
}else
{
konsole.close();
break;
}
}
}
}