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

Grid takes no arguments #13

Open
ro1713 opened this issue Dec 9, 2020 · 1 comment
Open

Grid takes no arguments #13

ro1713 opened this issue Dec 9, 2020 · 1 comment

Comments

@ro1713
Copy link

ro1713 commented Dec 9, 2020

The following error comes when the code mentioned above is executed.
Traceback (most recent call last):
File "GUI.py", line 343, in
main()
File "GUI.py", line 260, in main
board = Grid(9, 9, 540, 540, win)
TypeError: Grid() takes no arguments

@satyabansahoo2000
Copy link

check line 20 it is taking 5 arguments.
def __init__(self, rows, cols, width, height, win):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants