Battle City is an open source online multiplayer game.
- You can read more about the game at http://battlecity.org.
- You can access the source code at [url removed, login to view]
Right now the IP address for the server is hard-coded in the client. This needs to be changed.
When users open the game, in addition to entering their username and password, they should have a drop-down list allowing them to select a server.
By default, the main server "Battle City Classic" will be shown.
In the settings section, users should have the ability to add additional servers which will then show up in the drop-down. The drop-down will show "Server Names", not IP address.
In order to add a server, users will need to provide a server name, server ip address and port number. From this settings page, users can edit their list of servers.
A users server settings should be saved in a text file. This will allow the game to be distributed with a default list of servers.
Please note, the above are the minimum requirements. I will pay extra if instead of a drop-down list, users see the following:
When [url removed, login to view] is opened, the user will be presented with a list of servers. The servers will be organized in order, starting from lowest ping to highest ping. The name of the server will be displayed, as well as the server status (online, offline), ping, total players online and version # (since some servers might be running older versions of Battle City).
Servers under 250 ping would be shown in green, between 250-500 in yellow, and over 500 ping in red. Offline servers would also be shown in red.
Upon selecting a server, a user will be asked to provide their username and password to login.
All code will be licensed under GPLv3. Ideally, you will simply fork the project on GitHub and push your changes once complete.