From 9805e9d9e4ded56d9ecf99f2f5fc34687f8fccbd Mon Sep 17 00:00:00 2001 From: Chris Proctor Date: Tue, 9 Dec 2025 07:55:49 -0500 Subject: [PATCH] Fixed bug in game.py the problem was you were passing `Agent` rather than `player` (Which is an instance of `Agent`, not the class itself) into the game. --- game.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game.py b/game.py index eacd2ab..3e25746 100644 --- a/game.py +++ b/game.py @@ -28,5 +28,5 @@ class Agent: if __name__ == '__main__': player = Agent() - game = Game([Agent], {'score': 0}, board_size:=(24, 20), framerate:=12) - game.play() \ No newline at end of file + game = Game([player], {'score': 0}, board_size:=(24, 20), framerate:=12) + game.play()