mirror of
https://github.com/Cpt-Adok/SNAKE.git
synced 2026-01-25 10:34:06 +00:00
25 lines
627 B
Java
25 lines
627 B
Java
import connexion.Channel;
|
|
import connexion.Reseau;
|
|
import environnements.*;
|
|
import game.Terminal;
|
|
import personnages.*;
|
|
import types.Item;
|
|
|
|
public class Main {
|
|
public static void main(String[] args) throws InterruptedException {
|
|
Personnage.n = 2;
|
|
|
|
Map map = new Map(20, 20);
|
|
|
|
Personnage[] personnages = new Personnage[] {
|
|
new Player(new int[] {0, 0}, "Philippe Etchebest"),
|
|
};
|
|
|
|
|
|
// map.addObjects(Item.FRAISE, 0, 0);
|
|
// map.addObjectsRandomize(new Item[] {Item.FRAISE}, 1);
|
|
|
|
new Terminal(map, personnages).run(new String(), new String());
|
|
}
|
|
}
|