Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
leoperez55 committed May 1, 2023
1 parent 8b8ccc5 commit 0e899e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Game/agent_based_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self, runtime=15, fps=60, target_reward=100, miss_reward=-1, visual
self.TARGET_NUMBER = 3 #Number of targets on the screen at once
self.SPEED = 5
self.GAME_DURATION = runtime #How long one game is (15 seconds from parameters)
self.GAME_DURATION_IN_FRAMES = runtime * fps
self.GAME_DURATION_IN_FRAMES = runtime * fps #How long training will be = total number of frames and how fast your computer can run thru them
self.remainingTime = self.GAME_DURATION
self.remainingFrames = self.GAME_DURATION_IN_FRAMES

Expand Down

0 comments on commit 0e899e0

Please sign in to comment.