1 Preliminary study on mechanisms useful for a new PlomRogue engine
2 =================================================================
4 The old PlomRogue engine in its mechanisms feels quite questionable to me now.
5 I have some ideas for a new variant, but I must get acquainted with some
6 relevant mechanics and their Python3 implementations first. So this code is just
7 some playing around with these.
9 A new PlomRogue engine should have:
11 * server-client communication via sockets, on top of some internet protocol
12 * the server should be capable of parallel computation
13 * maybe use a different library for console interfaces than ncurses – how about
16 To play around with these mechanics, I create two executables to be run in
22 The following commands can be sent from client to server:
24 * `QUIT` – closes the connection
25 * `FIB` followed by positive integers (all tokens separated by ` `); for each
26 such integer n, calculates th nn-th Fibonacci number (this allows for testing
27 parallel CPU-heavy computation)
29 Additionally, the server regularly sends a counter state to the client.
31 See `./requirements.txt` for the dependencies.