MCPcopy 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
24def _open(title, size):
25 pygame.init()
26 pygame.display.set_caption(title)
27 return pygame.display.set_mode(size)
28
29
30def _grid_lines(surf, unit, y_off=0):

Callers 3

renderMethod · 0.85
renderMethod · 0.85
mainloopMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected