I want to try writing a simple game for web, using the websockets and HTML-5 technologies, and I am thinking about doing this with Play framework and Scala. However, the type of game that I want to make is one with a persistent world where things happen themselves, and not only as player action consequences, what means, that it does not fit the Play's stateless philosophy. I have tried starting a separate thread in Play application, that would act as a usual persistent gameserver with a running world, and it seems to work. How can you comment on that?
Do not mess up persistent with a "always running thread updating info".
Most of the time, such games just save last update time and they calculate new values based upon time elapsed between now and last update. Any web framework or technology can do that. Even if I am a big playframework fan/addict, I do not think the persistent argument in itself is enough.
But if you need :
then indeed, Playframework might be your choice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With