Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rlcode/reinforcement-learning
/ _open
Function
_open
1-grid-world/env.py:24–27 ·
view source on GitHub ↗
(title, size)
Source
from the content-addressed store, hash-verified
22
23
24
def
_open(title, size):
25
pygame.init()
26
pygame.display.set_caption(title)
27
return
pygame.display.set_mode(size)
28
29
30
def
_grid_lines(surf, unit, y_off=0):
Callers
3
render
Method · 0.85
render
Method · 0.85
mainloop
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected