Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asweigart/PythonStdioGames
/ rememberBoard
Method
rememberBoard
inprogress/dropspin.py:127–128 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
125
self.dropOnColumn(random.randint(0, self.size - 1))
126
127
def
rememberBoard(self):
128
self.moves.append(copy.copy(self.board))
129
130
def
undo(self):
131
#breakpoint()
Callers
4
clear
Method · 0.95
dropOnColumn
Method · 0.95
rotateRight
Method · 0.95
rotateLeft
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected