mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2024-12-01 13:29:44 +01:00
30 lines
926 B
Properties
30 lines
926 B
Properties
########################################
|
|
## Programming project code
|
|
## UniBw M, 2022, 2023, 2024
|
|
## www.unibw.de/inf2
|
|
## (c) Mark Minas (mark.minas@unibw.de)
|
|
########################################
|
|
#
|
|
# Battleship server configuration file
|
|
#
|
|
# This file defines the configuration settings for the Battleship server.
|
|
#
|
|
# The port number on which the server will listen for incoming connections.
|
|
port=1234
|
|
#
|
|
# The dimensions of the game map.
|
|
# 'map.width' defines the number of columns, and 'map.height' defines the number of rows.
|
|
map.width=10
|
|
map.height=10
|
|
#
|
|
# The number of ships of each length available in the game.
|
|
# The value is a comma-separated list where each element corresponds to the number of ships
|
|
# with a specific length. For example:
|
|
# ship.nums=4, 3, 2, 1
|
|
# This configuration means:
|
|
# - 4 ships of length 1
|
|
# - 3 ships of length 2
|
|
# - 2 ships of length 3
|
|
# - 1 ship of length 4
|
|
ship.nums=4, 3, 2, 1
|