Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ roll
Function
roll
BoardGame-CLI/snakeLadder.py:34–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
33
# Dice roll method
34
def
roll():
35
# print(players)
36
return
random.randrange(1, 7)
37
38
39
# play method
Callers
1
play
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected