home · contact · privacy
Update README.
[plomrogue2-experiments] / README.md
1 Preliminary study on mechanisms useful for a new PlomRogue engine
2 =================================================================
3
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.
8
9 A new PlomRogue engine should have:
10
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
14   *urwid*?
15
16 To play around with these mechanics, I create two executables to be run in
17 dialogue:
18
19 * `./client.py`
20 * `./server.py`
21
22 The following commands can be sent from client to server:
23
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)
28
29 See `./requirements.txt` for the dependencies.