wm: glendy

Download patch

ref: 95a5ff12c1ee46e1705e3e455ab2ae6152eaac07
parent: 407c0b5bf4f186ea4fbd8cd381a3036010bfe621
author: mkf <mkf@cloud9p.org>
date: Fri May 24 04:22:33 EDT 2024

proto: minor changes

--- a/doc/proto.txt
+++ b/doc/proto.txt
@@ -1,3 +1,5 @@
+Glendy protocol:
+
 This is the protocol used in networked games,
 currently in early alpha state, and is subject to changes;
 see the following changelog for more info:
@@ -21,6 +23,9 @@
 2024/05/14:
 	insist upon '\n' on writes, ascii → ASCII
 
+2024/05/24:
+	minor changes
+
 ------
 notes:
 	currently there isn't a way to select settings
@@ -99,25 +104,20 @@
 after a sucessful move both clients are notified with SYNC message;
 if move have been done by "trapper":
 SYNC t x y
+Where t is the turn number and x, y are the position of new wall.
 
-where t is the turn number and x, y are the position of new wall.
-
 if "glenda" have been moved:
 SYNC t d
+Where t is turn number and d is the direction (NE, E, ...).
 
-where t is turn number and d is the direction (NE, E, ...).
+Game will contiune until either "glenda" manages to escape the map,
+or "trapper" sucessfully traps "glenda". 
+if a game has ended or not is decided by the server.
 
-game will contiune until either "glenda" manages to escape the map,
-or "trapper" sucessfully traps "glenda". if a game has ended or not is decided by the server.
+Clients should not end the game before server tells them to do so,
+once the game is over, server will report it as
+WON or LOST on the respective players.
 
-clients should not end the game before server tells them to do so,
-once the game is over, server will report it as:
-WON
 
-or:
-LOST
-
-on the respective players.
-
-once a game is finished, server closes connections to both clients.
+Once a game is finished, server closes connections to both clients.
 clients willing to play another match must reconnect.