Excellent article on turn-based game loops

http://journal.stuffwithstuff.com/2014/07/15/a-turn-based-game-loop/

Written by the same guy who did http://gameprogrammingpatterns.com/, it’s worth a read even if you aren’t developing a turn based game, you might pick up how various problems are thought about and solved regardless of genre.
Even has interactive demos!

via reddit, more discussion there