Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Sentdex/pygta5
/ right
Function
right
original_project/3. test_model.py:61–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
#ReleaseKey(S)
60
61
def
right():
62
if
random.randrange(0,3) == 1:
63
PressKey(W)
64
else
:
65
ReleaseKey(W)
66
PressKey(D)
67
ReleaseKey(A)
68
ReleaseKey(S)
69
70
def
reverse():
71
PressKey(S)
Callers
1
main
Function · 0.70
Calls
2
PressKey
Function · 0.90
ReleaseKey
Function · 0.90
Tested by
no test coverage detected