2025-05-10 13:12:46 +02:00
|
|
|
package it.arnaldo.unibs.tamagolem;
|
2025-05-12 19:12:33 +02:00
|
|
|
|
2025-05-10 13:12:46 +02:00
|
|
|
import java.util.*;
|
2025-05-12 19:12:33 +02:00
|
|
|
|
2025-05-10 13:12:46 +02:00
|
|
|
public class TamaGolemMain {
|
|
|
|
public static void main(String[] args) {
|
2025-05-13 19:45:51 +02:00
|
|
|
Scanner sc = new Scanner(System.in);
|
|
|
|
|
2025-05-10 13:12:46 +02:00
|
|
|
System.out.println("TamaGolem");
|
2025-05-13 19:45:51 +02:00
|
|
|
System.out.println("""
|
|
|
|
|
|
|
|
Player 1:
|
|
|
|
Choose your name
|
|
|
|
|
|
|
|
""");
|
|
|
|
|
|
|
|
Player p1 = new Player(sc.nextLine());
|
|
|
|
|
|
|
|
System.out.println("""
|
|
|
|
|
|
|
|
Player 2:
|
|
|
|
Choose your name
|
|
|
|
|
|
|
|
""");
|
|
|
|
|
|
|
|
Player p2 = new Player(sc.nextLine());
|
2025-05-12 19:12:33 +02:00
|
|
|
|
2025-05-13 19:45:51 +02:00
|
|
|
Game game = new Game(p1, p2, WorldBuilder.buildWorld());
|
2025-05-13 17:02:45 +02:00
|
|
|
|
|
|
|
game.start();
|
2025-05-10 13:12:46 +02:00
|
|
|
}
|
|
|
|
}
|