Also, without considering a possible chat ability, do you think 15 seconds is reasonable for a turn? I guess something like 30 seconds isn't bad. Just didn't want one user waiting forever for the other.
Really good, how would your game cope though if someone closed the browser during the game? Does the game have and AFK system, where if the user has not made a move for a certain amount of time the game ends?
Hey, bourne, I'm a little confused, what does it mean when I see three users that are in the middle of a game? Shouldn't there always be an even number of users in the middle of a game?
@shrucis1, it is a flaw of not having it check if they have been active recently. (will be fixed in next update) It occurs when someone was requesting or was in middle of game and left the scenario.
Ah, I see. Basically, the program can't detect that the user is leaving the page to change the current 'status' so when it closes, that status is left that way? That's my understanding of the problem, but then again, I could be wrong. Do you know how to fix this? Or is it just on your To-do list? It's still impressive that you managed to create an online game though.
Glad to see you lost one, bourne (not that I really wish that upon you). It would be easy to program a cheat for the maker in a game like this (if ("borne" is username) show opponents ships).
@danpost, right but I have the source available so you can see how it works. Not only is there no such cheat ability, ship locations are not sent (works much like the physical game). I will be implementing a reveal enemy ship feature for when you lose (when the game is over, remaining locations will be sent)
I was already waiting for that actually! I can't wait!
A new version of this scenario was uploaded on Sat Dec 14 20:37:09 UTC 2013
* Should no longer see game status for users that left the scenario.
* If a user leaves, you won't be stuck in the game (still please don't quit on somebody).
* Can now sort list of users by the 3 criteria (note: does not automatically keep it sorted as values change).
* When lose, opponent's ship locations are revealed.
(Hopefully I didn't break anything, can't test much off-site)
Also, it seems that when I try to use the buttons, it freezes and gets all glitchy; however, this could just be because I'm also running some python programs in the background.
Yeah, also, after I clicked the button, now I can't see any users. I probably just don't know how to work the sorting system, but you should probably edit the description to include new instructions.
A new version of this scenario was uploaded on Sat Dec 14 20:47:08 UTC 2013
One fix. And isolating bugs, (buttons taken away for now).
A new version of this scenario was uploaded on Sat Dec 14 20:52:57 UTC 2013
Fix: Revealing ship locations to losing user.
A new version of this scenario was uploaded on Sat Dec 14 21:06:49 UTC 2013
Revealing ship locations to losing user works now. Don't use the buttons on user list screen until I say they work.
A new version of this scenario was uploaded on Sat Dec 14 21:09:46 UTC 2013
No users in list fix
2013/12/13
2013/12/13
2013/12/13
2013/12/13
2013/12/13
2013/12/13
2013/12/13
2013/12/13
2013/12/13
2013/12/13
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14
2013/12/14