I am thinking of something like a gnugo ascii interface. I would think of turns as a pair of co-developing (monodic, to allow user input) threads. It vaguely reminds me of cables.
I'm not quite sure how I will use existing libraries for this.
You may find an operational package more useful for this.
In particular, see an example of TicTacToe.hs .
Probably not so much. The FRP killer feature, which is a simulation of continuous-time events, is great for graphical interfaces, but it can probably be redundant for turn-based ASCII games.
Source: https://habr.com/ru/post/1403967/More articles:Accept and return file to / from C # WebService - c #How to update Android ListView in ViewPager? - androidBootstrap Switching to Sass Javascript Error - ruby-on-railsHow to create a dropdown in ActionBar in Honeycomb? - androidShould I use to print static text? - jsf-2What is a good logging library for real-time systems (fast without creating an object)? - javaIs there a parser that interprets the colon and comma? - c ++How can you make sure the username does not conflict with an existing route? - ruby-on-rails-3UI real-time synchronization library for browsers - javascriptUnable to build package due to ambiguous foreplay - build-processAll Articles