Skip to content

Commit

Permalink
Changed readme and deleted unused backup files
Browse files Browse the repository at this point in the history
  • Loading branch information
kdsuneraavinash committed Aug 12, 2018
1 parent 0a1a8e6 commit 037202f
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 230 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
maze-solving-bot-simulator/__pycache__/
maze-solving-bot-simulator/.vscode/
.vscode/
.vscode/
vscode/.ropeproject/
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,23 @@ All `userscripts` must,
- Should NOT include any methods which affects the value of `bot` in `__init__()`
- `loop` must accept one variable as `img`, but try not to change `img` value. If you change it change it in-place. Can use `img` to tasks such as refreshing window

Sample custom class,

```python
class CustomClassName:
def __init__(self, bot):
# Do not add anything more in this function
self.bot = bot

def setup(self):
# Add all variable initialization and startup code
pass

def loop(self, img):
# Add loop code
pass
```

Furthermore,

- `setup` will run only once at the simulation initialization
Expand Down
Binary file removed maze-solving-bot-simulator/Maze.bk.png
Binary file not shown.
Binary file removed maze-solving-bot-simulator/Maze.bk2.png
Binary file not shown.
Binary file not shown.
35 changes: 0 additions & 35 deletions maze-solving-bot-simulator/test/algo.py

This file was deleted.

194 changes: 0 additions & 194 deletions maze-solving-bot-simulator/test/assets.py

This file was deleted.

0 comments on commit 037202f

Please sign in to comment.