This commit is contained in:
Johannes Schmelz
2024-11-25 05:33:36 +00:00
parent f67ce6be44
commit d10111d2ab
106 changed files with 4028 additions and 1233 deletions

View File

@@ -7,12 +7,11 @@
package pp.battleship;
import pp.util.config.Config;
import static java.lang.Math.max;
import java.util.Map;
import java.util.TreeMap;
import static java.lang.Math.max;
import pp.util.config.Config;
/**
* Provides access to the configuration settings for the Battleship game.
@@ -31,7 +30,7 @@ public class BattleshipConfig extends Config {
* The default port number for the Battleship server.
*/
@Property("port")
private int port = 1234;
private int port = 12234;
/**
* The width of the game map in terms of grid units.