added Readme

This commit is contained in:
Jonas Weinz 2017-05-07 23:13:05 +02:00
parent c0dba57e6a
commit 3c94b0f5de
2 changed files with 19 additions and 1 deletions

View File

@ -299,7 +299,7 @@ def main():
parser.add_argument('--window_w', dest='win_w', default=window_w, help='window width')
parser.add_argument('--window_h', dest='win_h', default=window_h, help='window height')
parser.add_argument('--configurator', dest='configurator', action='store_true', help='start in field edit mode')
parser.add_argument('--code', dest='code', default='01', help='binary code for the ant')
parser.add_argument('--code', dest='code', default='01', help='binary code for the ant (\'01\' corresponds to the starndard ant behaviour)')
parser.set_defaults(fullscreen=False)
parser.set_defaults(configurator=False)

18
langton/README.md Normal file
View File

@ -0,0 +1,18 @@
# Langton's Ant Simulator
for help, run:
```
python3 Main.py --help
```
configuration mode keys:
| key | function |
| ---------- | -------------------------------------- |
| return | enter/leave configuration mode |
| arrow keys | move langton's ant |
| space | activate field or switch field's color |
| backspace | deactivate field |
| escape | exit program |