Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixed + Tutorials. #54

Merged
merged 2 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
venv
envs
*.ipynb
test.ipynb
*/*/__pycache__
src/traverseCraft/__pycache__
tests/__pycache__
Expand All @@ -12,3 +12,4 @@ test.py
build
dist
*.egg-info
*.in
48 changes: 0 additions & 48 deletions pyproject.toml

This file was deleted.

3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='TraverseCraft',
version='0.6.0',
version='0.7.0',
author='Srajan Chourasia, Varun Patrikar',
author_email='[email protected], [email protected]',
maintainer='Srajan Chourasia, Varun Patrikar',
Expand All @@ -22,6 +22,7 @@
},
package_dir={'': 'src'},
packages=find_packages(where='src'),
include_package_data=True,
python_requires='>=3.6',
install_requires=[
'prettytable',
Expand Down
2 changes: 1 addition & 1 deletion src/traverseCraft/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class CreateGridWorld:
coordinate = List[int]
worldID = "GRIDWORLD"

def __init__(self, worldName:str, rows:int, cols:int, cellSize:int=10, pathColor:str="gray", blockColor:str="red", goalColor:str="green", cellPadding:int=2, borderWidth:int=1, buttonBgColor:str="#7FC7D9", buttonFgColor:str="#332941", textFont:str="Helvetica", textSize:int=24, textWeight:str="bold", buttonText:str="Start Agent", logoPath:str=None):
def __init__(self, worldName:str, rows:int, cols:int, cellSize:int=20, pathColor:str="gray", blockColor:str="red", goalColor:str="green", cellPadding:int=2, borderWidth:int=1, buttonBgColor:str="#7FC7D9", buttonFgColor:str="#332941", textFont:str="Helvetica", textSize:int=24, textWeight:str="bold", buttonText:str="Start Agent", logoPath:str=None):

"""
Initializes the Grid World.
Expand Down
Loading
Loading