pydt / client Goto Github PK
View Code? Open in Web Editor NEWElectron client that helps with playing your damn turn.
Home Page: https://www.playyourdamnturn.com
License: Other
Electron client that helps with playing your damn turn.
Home Page: https://www.playyourdamnturn.com
License: Other
The forum post would appear on the top of the client.
System forum post: The sysadmin would "pin" a forum post and the client would show a link to that post on the game list interface. Unpin to remove?
Examples: AWS down, just be aware. Example: Any Axis and Allies players out there? click to come to the poll we are conducting this week.
Auto forum posts: You have not set your timezone.
Nothing overwhelming like 10 posts. Just a trickle of one at a time.
I'm not sure if you poll the current game status (and if you do how often) because the client doesn't show when it was "refreshed". Sometimes I restart the client to just make sure everything is up to date - maybe a "manual refresh" button would be nice.
Able to set your forum username in settings. If the last comment was yours, don't show the smack talk button
I have been caught out before and my guess new users do too. Closing the client completely closes it and (for new users), they forget to play their first turns after a while. I have nudged a couple through the smack talk.
Minimize should to just that, the app remains in the task bar.
Close should close to the tray.
Double clicking the tray should show the client.
Progress bar seems like it lags behind the actual value, i think this may be due to some smoothing in bootstrap
A game could be downloading slowly. Sometimes I go for the "have you tried turning it off and on again" and the download happens at a speed you normally have.
The problem is there is no cancel button to cancel the download and return you to the game list. You have to actually close and reopen the client.
I request a cancel button while the download progress bar is filling.
(I actually wrote 3/4 of this while the client finally downloaded 1 Mb)
Client crashes silently all the time now, usually after downloading and executing CIV, now when I want to submit turn, I have to re-open, re-download turn, then re-save in CIV and it will work.
auto download, auto upload. controlled by toggle switch on client face near refresh button. same toggle to also show on the playturn screen. the playturn screen would automatically be shown.
in addition, rather than waiting for the user to click to download, the client should have already downloaded and it should be click to play to speed things up. just move the save from the downloaded cache.
From the forum:
After creating my first game yesterday and taking the first turn, I got do turn 2 today - game on!
While waiting for Civ6 to load up my PYDT game I thought I'd be efficient and grab a second PBEM game I have going via slack. As soon as I dropped the save file into the hotseat folder, you can guess what happened.
The submission popup only has 1 button right now to proceed with the upload. A cancel or no is needed there. Not just for my case, but if someone accidentally saves before they are really ready.
Now, I didn't want the wrong game file to upload - hence the second suggestion here of some indication of which file it is trying to upload and a means to change it if needed.
So, spotting what had happened, I thought I'd be clever and remove the file from the folder and go about my PYDT turn (which had finally loaded by now) and try saving it. I still had the pop-up from PYDT client so I hit submit. It froze, presumably because it couldn't find the file it first detected.
Oops. Well at this point, I had no idea what to do now. In the end I cleared storage from the PYDT client, re-entered my key, redownloaded and replayed the PYDT turn. Out of interest, is there a better way to untangle oneself from such situations? Perhaps have the client report "file not found", or allow the user to select an alternate per a dropdown.
After the client install on my Windows 10 I noticed the "toast" app program link in my start menu. Could you hide the desktop link / start menu registration during the install. I can't click it anyway (and if I do nothing happens).
If there's ever a linux release, make a linux build.
After I start client (version 2.1.5) I see my games. But when I check after a while I only see error: "There was an error loading your games. Please check your internet connection." Clicking Refresh shows the same error. Only restarting client helps but soon error reappears.
To have available a text area for your own game notes, saved on focus lost. This would be on the play turn interface.
Hi! I'm a new user of this wonderful app and noticed that it was open source and written in a way that I can contribute to. I'd love to help, but I'm having some issues getting the build and electron tasks to run successfully. I'm not sure where the right place to get help with this would be.
hotseat saves dir is getting clogged up
from rollbar:
Error: Exited with code 1
at ChildProcess. (C:\Users\Mike\AppData\Local\playyourdamnturn\app-1.1.11\resources\app.asar\node_modules\opn\index.js line 83 col 13)
at ChildProcess.g (events.js line 286 col 16)
at emitTwo (events.js line 106 col 13)
at ChildProcess.emit (events.js line 191 col 7)
at maybeClose (internal/child_process.js line 877 col 16)
at Socket. (internal/child_process.js line 334 col 11)
at emitOne (events.js line 96 col 13)
at Socket.emit (events.js line 188 col 7)
at Pipe._handle.close [as _onclose] (net.js line 493 col 12)
Sometimes tooltips don't dissapear when your mouse moves out, then get stuck open forever. :(
I have 20 or so games going ATM. So when a game has a comment waiting for me to view, I do not see it because the games are sorted by "your-turn".
Please sort games by your-turn, then unread comments.
This is going to be a bit niche, but there is an issue on the client where I as a colorblind individual cannot see the highlighting as to who's current turn it is. I don't know if you can implement an option for colorblind coloring, but here is an article discussing the issue and three fairly universal colorblind assistance palettes.
The downloaded view on playturn to be changed after downloading the save file. It should indicate to stay on the screen while playing your damn turn.
When I first played, I clicked back to the game list before playing my turn and have learned other new players had done that too. Not just the recent one in discord.
An option is to rename the button "Return to game list" to "About turn, return to game list"
Not exactly sure if this is possible but sometimes we are able to get all of the players online at the same time. Would be great if we could burn through the turns... like moving the saved game to multi-player internet / local net for a while and then move it back to the play by turn.
On installing the new client release, I noticed my system tray icon disappear from (i think from my previously forced) position in the visible section to immediately becoming auto hidden.
At the least, can this be reset? As new apps generally show in the system tray for a time. But on updating it immediately went auto hidden.
Can this be set to always show?
Can the app detect that the tray icon is not showing and notify the user by showing the client with a message to the user and informing with a link to a you tube on how to always show?
progress bar to be same height as button so page does not move around after download
Hi.
Civ 6 is/was available in the epic games store for free.
So how about supporting this launcher? :)
I guess, the user needs some option for each game, which launcher he wants to use. So it is bit more work to do, than just updating some path.
Best wishes
meisterlampe
My house lost power for a couple of seconds. I was on the computer and started my PC immediately after. My internet takes a min or 2 to come back on. PC comes on quick.
The client started with my PC, but despite waiting well after the internet coming back, I had to close and reopen the client to see any games. So the initial error probably stopped the interval from running again - guess.
app.js:211449 Error: Uncaught (in promise): HttpErrorResponse: {"headers":{"normalizedNames":{},"lazyUpdate":null,"headers":{}},"status":0,"statusText":"Unknown Error","url":"https://api.playyourdamnturn.com/user/getCurrent","ok":false,"name":"HttpErrorResponse","message":"Http failure response for https://api.playyourdamnturn.com/user/getCurrent: 0 Unknown Error","error":{"isTrusted":true}}
at resolvePromise (polyfills.js:3931)
at polyfills.js:3845
at rejected (app.js:164789)
at ZoneDelegate.invoke (polyfills.js:3491)
at Object.onInvoke (app.js:26797)
at ZoneDelegate.invoke (polyfills.js:3490)
at Zone.run (polyfills.js:3248)
at polyfills.js:3989
at ZoneDelegate.invokeTask (polyfills.js:3526)
at Object.onInvokeTask (app.js:26788)
handleError @ app.js:211449
api.playyourdamnturn.com/user/getCurrent:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED
save last window size. restrict size to never exceed the screen size it is on?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.