-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMotus.java
More file actions
34 lines (29 loc) · 894 Bytes
/
Motus.java
File metadata and controls
34 lines (29 loc) · 894 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
33
34
/*
* @author Alain Barbier alias "Metroidzeta"
*
* Pour compiler avec Windows, GNU/Linux et MacOS :
* > javac *.java
*
* Pour exécuter :
* > java Motus
*
* Pour créer un jar de l'application :
* > jar cvmf MANIFEST.MF Motus.jar *.class bruitages/* listesMots/*
*/
import java.awt.Color;
public class Motus {
public static final int WINDOW_WIDTH = 920;
public static final int WINDOW_HEIGHT = 720;
public static final int NB_ESSAIS = 6;
public static final int NB_LETTRES = 7;
public static final int NB_GRILLES = 10;
public static final int TEMPS = 30;
// Couleurs RVB
public static final Color BLEU = new Color(10,129,209);
public static final Color ROUGE = new Color(210,44,44);
public static final Color JAUNE = new Color(254,197,4);
public static void main(String[] args) {
Jeu jeu = new Jeu();
jeu.jouer();
}
}