From 4e611c3d77496aa8ac7d08ec71fbc05abfffab32 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 16 Feb 2017 19:43:32 +0100 Subject: README: add netcat example --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index e76aeb5..1568a58 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,19 @@ Goffel has a command line utility to start the various game interfaces. will present the available options. +A game on a goffel server instance can be played simply through netcat. + +``` +> netcat muhq.space 63036 +HELO test +test +h +``` + +The above example connects to the goffel server running at muhq.space. +It registers a player, named "test", joins the session "test" and outputs a help +message. + An example how to use goffel's library can be found in uis/interactive.go. It implements a simple terminal based yahtzee game. -- cgit v1.2.3