Create webpage of current game
Short Version: Does anyone know if it's possible to create a webpage showing the current state of the game based on a tsvg file?
Long Version: I play A&A by email with a few friends. We have been playing on gamesbyemail.com for a couple of years and love the fact that you can view the current state of the game at any point. We are switching over to TripleA for all of the awesome extra features and customization options it has. While it's not your turn, everyone would love to be able to view the current state of the game without having to download and load a file. I'm hoping there is something automated I can do so there's one link we all use and it's updated with the current map after someone moves.
ubernaut Moderators last edited by
@hbaum06 i'm not sure why a browser would be a better or faster user experience as compared to using the native client (triplea). currently, the functionality to load/save via the internet would be limited to whatever limitation exists in your OS's file system so i believe you could achieve this with an FTP server currently with both Mac and PC but not sure about other OS's
for people like you and me, yes, using the desktop client is easy. The folks I play with can't handle files as easily. With gamesbyemail.com, you could log in and very easily see the current board when it wasn't your turn. My solution is over-engineered, but I've created a secondary email for all of the people in my group and that is the email address they log into the client with for dice rolls and forwarding the game file after they play. I have a php page that checks my secondary email and looks at each email and when the right person's secondary address has emailed the right file, my script will forward that email to the correct next players' real email address. If everyone I'm playing with received all of the emails that are sent by the client, they wouldn't be able to keep track of when they should load the file and make their move, which is why I've written the PHP file to only email them the game file when it's their turn.
Because of this setup, when it isn't their turn, they won't get the game file.
We would like everyone to have one central place to go to and view the current map if possible.
Right now my backup plan is to just keep all files saved on a webpage and they can visit that page, download the file and view the game at whatever point.
But since this is all java, I wasn't sure if there wasn't some way to just view the map at the end of each turn.
That was a lot, thanks for any insight anyone can provide.
ubernaut Moderators last edited by
@hbaum06 idk to me it seems easier to just use play by forum but you would have to use the client in order view the board at any point
Most group games I've seen are PBF (play by forum), which is an easy way for all players to be able to access the game files and be notified of new posts to the thread. (i.e. when someone else finishes their turn)
TripleA also has a history feature, so you can roll the game back to any point rather than having to fish around to find the file from a certain point in the game.
If you're more interested in being able to see a picture of the board (perhaps so people can view on a cell phone without loading TripleA), TripleA does allow you to export a current picture of the game. However they can be fairly large, and would require players to manually export, and attach/upload it at the end of their turn. (in Triplea go Export -> Export Gameboard Picture)