This commit is contained in:
Luca Puderbach
2024-11-20 03:36:54 +01:00
parent 1203077aed
commit 47bac0185f
7 changed files with 17 additions and 18 deletions

View File

@@ -28,19 +28,19 @@ public class MonopolyConfig extends Config {
* The default port number for the Monopoly server.
*/
@Property("port")
private int port = 42069;
private int port = 4321;
/**
* The width of the game map in terms of grid units.
*/
@Property("map.width")
private int mapWidth = 11;
private int mapWidth = 12;
/**
* The height of the game map in terms of grid units.
*/
@Property("map.height")
private int mapHeight = 11;
private int mapHeight = 12;
/**
* Creates an instance of {@code MonopolyConfig} with default settings.

View File

@@ -124,6 +124,7 @@ public class ServerGameLogic implements ClientInterpreter {
playerHandler.addPlayer(player);
LOGGER.log(Level.DEBUG, "Player added: {0}", player.getId());
System.out.println("Anzahl Spieler verbunden:"+ playerHandler.getPlayerCount());
return player;
}