This commit is contained in:
Guillem George 2026-02-07 21:01:22 +01:00
parent dfd3e4b7fa
commit 204f626f11

View file

@ -102,9 +102,10 @@ public class Program {
logger.debug(statistics.toString());
for (var player : statistics.players) {
if (player.name != login) {
if (!player.name.equals(login)) {
logger.debug("Spamming " + player.name);
citizen1.sendMessage(player.name, "Nicole");
citizen1.sendMessage(player.name, "Ouvre");
citizen2.sendMessage(player.name, "Ouvre");
citizen1.sendMessage(player.name, "MAIS MOI JE VEUX FAIRE L'AMOUUUUR");
citizen2.fetchMessages();
}
@ -116,14 +117,24 @@ public class Program {
// citizen2.fetchMessages();
}
// Country road
// citizen1.move(Direction.RIGHT);
// citizen2.move(Direction.LEFT);
// citizen1.build(Building.ROAD);
// citizen2.build(Building.ROAD);
// citizen1.move(Direction.UP);
// citizen2.move(Direction.DOWN);
// citizen1.build(Building.ROAD);
// citizen2.build(Building.ROAD);
// Gather
citizen1.move(Direction.RIGHT);
citizen2.move(Direction.LEFT);
citizen1.build(Building.ROAD);
citizen2.build(Building.ROAD);
citizen1.gather();
citizen2.gather();
citizen1.move(Direction.UP);
citizen2.move(Direction.DOWN);
citizen1.build(Building.ROAD);
citizen2.build(Building.ROAD);
citizen1.gather();
citizen2.gather();
}
// Negotiator