EDIT: actually, I forgot that I've read about fs2 and iteratees in this article that was written as a response to "Console games in Scala" article, in which the code was refactored to get rid of global shared mutable state: -console-game
EDIT: actually, I forgot that I've read about fs2 and iteratees in this article that was written as a response to "Console games in Scala" article, in which the code was refactored to get rid of global shared mutable state: -console-game