Does AppWrap support turn timeouts?

0 votes
For exmaple,

 

If I started a turn based match, are these scenarios supported:

1. The active player doesn't play for a while - is there a timeout in which the awaiting opponent gets the win?

2. Is there a way to quit a room and later get back to it? (i.e. async turn-based?) For exmaple if a user quits by mistake from the app - does this mean he automatically loses?
asked Mar 23, 2014 in Discuss & suggest API by noambehar1 (37 points)
edited Mar 23, 2014 by noambehar1

1 Answer

0 votes
 
Best answer
Hi - you can go through the following page for information on turn-based games support from ShepHertz.

http://www.shephertz.com/turn-based-games.php
answered Mar 24, 2014 by dhruvc (1,099 points)
selected Mar 25, 2014 by noambehar1
Hello - thanks!
This answers my 2nd question. What about the first?
Is there a timeout for realtime turn based games? (user is not sending a move for more than X minutes)

Thanks,
Noam
Yes! when you create a turn based room, there is a turn time parameter that you provide to the method.
If the user whose turn it is doesn't send a move in that time, the turn expires and its the next users turn.

http://appwarp.shephertz.com/game-development-center/realtime-turn-based-gaming/
The server triggers a onMoveCompleted event in such cases with empty moveData and with an updated nextTurn user name.
Hi noambehar1 - thanks for accepting the answer.. though note you don't need to flag the reply - its only for posts that you want the forum admins to take action on.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...