From 4628f2db7975fb2cdf7ceb3177cf077d973bdec8 Mon Sep 17 00:00:00 2001 From: Jonas Weinz Date: Mon, 8 May 2017 10:01:41 +0200 Subject: [PATCH] updated README.md, Main.py executable bit (langton) --- langton/Main.py | 0 langton/README.md | 23 ++++++++++++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) mode change 100644 => 100755 langton/Main.py diff --git a/langton/Main.py b/langton/Main.py old mode 100644 new mode 100755 diff --git a/langton/README.md b/langton/README.md index 1629daa..c991431 100644 --- a/langton/README.md +++ b/langton/README.md @@ -1,9 +1,26 @@ # Langton's Ant Simulator -for help, run: - ``` -python3 Main.py --help +usage: Main.py [-h] [--steps STEPS] [--w W] [--h H] [--calc CALC] + [--default DEFAULT] [--fullscreen] [--window_w WIN_W] + [--window_h WIN_H] [--configurator] [--code CODE] + +langton's ant + +optional arguments: + -h, --help show this help message and exit + --steps STEPS steps per second + --w W field width + --h H field height + --calc CALC calculate steps and only display result + --default DEFAULT setting all fields to this value + --fullscreen + --window_w WIN_W window width + --window_h WIN_H window height + --configurator start in field edit mode + --code CODE binary code for the ant ('01' corresponds to the + starndard ant behaviour) + ``` configuration mode keys: