Hi.
BattleShips is a remastered of a game I made years ago in RS232 with 2 computers in a local network.
In this new version I used MQTT free version on port 1883 of mosquitto broker online.
BattleShips is a game CLIENT Multiplayer in the sense that it can be played by 2 players at a time.
But more players can be online, each one will invite another and they will play in a different instance.
You can invite your friends who are available in the list.
If it is marked as "Busy" so you cannot invite them at the moment, try again later.
If you can't find any players online, copy the app to another computer or send the client to a friend to play together.
Battleships is a turn-based game.
It also has a private chat that will be enabled when you are in a party.
Other players cannot read the chat, it only works when you are playing with the challenging player.
It was not easy to manage the players with only one client in mqtt.
BattleShips is in the testing phase. I haven't had the chance to try it with many players,
so I don't know how it behaves.
I would like someone to try it and if they encounter any problems, of functioning, report it here on this thread.
It was translated from the Italian version to English, so I do not know if it is correct.
I have put a latency meter in the game for this test version.
It has 3 colors, green, orange and red. Green and orange means playable.
In my tests I never saw the red...latency hight!
The connection to the broker is stable, never had any disconnections, but it can happen!
This version has some limitations but it is playable.
I compiled the B4J source with Build Standalone Pachage.
It can happen that the antivirus shows a false positive.
If you are not comfortable do not run it...simple!
I attach the compiled game on google drive, if you want to try it.
Download BattleShips From My Google Drive
Lib used
APNGView 1.10
B4XPages 1.12
jAPBar 6.51
jCore 9.80
jFX 9.80
jMQTT 1.25
xCustomListView 1.73
CSSUtils
Broker MQTT Online on port 1883 default and free
Thank you so much for trying the game!
(Sry Google T.)
Merry Christmas to all
BattleShips is a remastered of a game I made years ago in RS232 with 2 computers in a local network.
In this new version I used MQTT free version on port 1883 of mosquitto broker online.
BattleShips is a game CLIENT Multiplayer in the sense that it can be played by 2 players at a time.
But more players can be online, each one will invite another and they will play in a different instance.
You can invite your friends who are available in the list.
If it is marked as "Busy" so you cannot invite them at the moment, try again later.
If you can't find any players online, copy the app to another computer or send the client to a friend to play together.
Battleships is a turn-based game.
It also has a private chat that will be enabled when you are in a party.
Other players cannot read the chat, it only works when you are playing with the challenging player.
It was not easy to manage the players with only one client in mqtt.
BattleShips is in the testing phase. I haven't had the chance to try it with many players,
so I don't know how it behaves.
I would like someone to try it and if they encounter any problems, of functioning, report it here on this thread.
It was translated from the Italian version to English, so I do not know if it is correct.
I have put a latency meter in the game for this test version.
It has 3 colors, green, orange and red. Green and orange means playable.
In my tests I never saw the red...latency hight!
The connection to the broker is stable, never had any disconnections, but it can happen!
This version has some limitations but it is playable.
I compiled the B4J source with Build Standalone Pachage.
It can happen that the antivirus shows a false positive.
If you are not comfortable do not run it...simple!
I attach the compiled game on google drive, if you want to try it.
Download BattleShips From My Google Drive
Lib used
APNGView 1.10
B4XPages 1.12
jAPBar 6.51
jCore 9.80
jFX 9.80
jMQTT 1.25
xCustomListView 1.73
CSSUtils
Broker MQTT Online on port 1883 default and free
Thank you so much for trying the game!
(Sry Google T.)
Merry Christmas to all