From 9c1d496a9b37edaa2e064444c23490bd7b40e335 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 26 May 2019 22:15:13 +0200 Subject: [PATCH] Add description for your own server --- README.md | 8 ++++++++ server.py | 2 ++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 86c7ab6..06021ca 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,14 @@ The idea is that there are challenges and each challenge offers: * Create challenges-.py and add challenges in there * Do some magic so all challenges are imported by server +### How to run your own game server + +Run +``` +python server.py +``` + + ## Overview - Security None at the moment. diff --git a/server.py b/server.py index 53a6f9c..4124a43 100644 --- a/server.py +++ b/server.py @@ -123,7 +123,9 @@ class Game(object): def list_of_challenges(self): return """The following challenges are available on this server: + {} + """.format("\n".join(self.challenge_names))