MCPcopy Create free account

hub / github.com/asweigart/PythonStdioGames / functions

Functions712 in github.com/asweigart/PythonStdioGames

↓ 1 callersFunctionremoveCompleteLines
(board)
src/gamesbyexample/pygame_games/pentomino.py:643
↓ 1 callersFunctionremoveCompleteLines
(board)
src/gamesbyexample/pygame_games/tetrominoforidiots.py:314
↓ 1 callersFunctionresetBoard
(board)
src/gamesbyexample/pygame_games/flippy.py:313
↓ 1 callersFunctionrotatePoint
Returns a 3D point that is rotated from the x, y, z point arguments. This new point is rotated around the (0, 0, 0) origin by angles ax, ay, a
src/gamesbyexample/fireflies.py:139
↓ 1 callersFunctionrotatePoint
Returns an (x, y, z) tuple of the x, y, z arguments rotated. The rotation happens around the 0, 0, 0 origin by angles ax, ay, az (in radians)
src/gamesbyexample/rotatingcube.py:104
↓ 1 callersFunctionrotateTileClockwise
(tile, rotations)
inprogress/tsuromapmaker.py:84
↓ 1 callersFunctionrotateXYZ
(x, y, z, ax, ay, az)
inprogress/rotatingcubebext.py:95
↓ 1 callersFunctionrotateXYZ
(x, y, z, ax, ay, az)
inprogress/rotatingsphere.py:26
↓ 1 callersFunctionrunGame
()
src/gamesbyexample/pygame_games/gemgem.py:111
↓ 1 callersFunctionrunGame
(isFirstGame)
src/gamesbyexample/pygame_games/fourinarow.py:75
↓ 1 callersFunctionrunGame
()
src/gamesbyexample/pygame_games/squirrel.py:85
↓ 1 callersFunctionrunGame
()
src/gamesbyexample/pygame_games/flippy.py:72
↓ 1 callersFunctionrunGame
()
src/gamesbyexample/pygame_games/wormy.py:50
↓ 1 callersFunctionrunGame
()
src/gamesbyexample/pygame_games/tetromino.py:180
↓ 1 callersFunctionrunGame
()
src/gamesbyexample/pygame_games/pentomino.py:407
↓ 1 callersFunctionrunGame
()
src/gamesbyexample/pygame_games/tetrominoforidiots.py:78
↓ 1 callersFunctionrunHourglassSimulation
Keep running the sand falling simulation until the sand stops moving.
src/gamesbyexample/hourglass.py:76
↓ 1 callersFunctionrunLevel
(levels, levelNum)
src/gamesbyexample/pygame_games/starpusher.py:124
↓ 1 callersFunctionrunQuiz
()
src/gamesbyexample/countingquiz.py:39
↓ 1 callersMethodrunSimulation
(self)
src/gamesbyexample/zombiebitefight.py:146
↓ 1 callersMethodrunSimulationStep
(self)
src/gamesbyexample/zombiebitefight.py:154
↓ 1 callersFunctionsaveMaze
(maze, filename)
src/gamesbyexample/mazemakerrec.py:35
↓ 1 callersFunctionshowGameOverScreen
()
src/gamesbyexample/pygame_games/wormy.py:168
↓ 1 callersFunctionshowInstructions
Display the game instructions.
src/gamesbyexample/sonar.py:123
↓ 1 callersFunctionshowSettingsScreen
()
src/gamesbyexample/pygame_games/inkspill.py:168
↓ 1 callersFunctionshowStartScreen
()
src/gamesbyexample/pygame_games/wormy.py:129
↓ 1 callersFunctionsimulateAquarium
Simulate the movements in the aquarium for one step.
src/gamesbyexample/fishtank.py:137
↓ 1 callersFunctionsleep
(seconds)
javascript_games/sinemessage.js:10
↓ 1 callersFunctionsleep
(seconds)
javascript_games/fastdraw.js:10
↓ 1 callersFunctionsnowflakeSide
(sideLength, levels)
src/gamesbyexample/kochsnowflake.py:27
↓ 1 callersFunctionsplitIntoGroupsOf
(groupSize, theList)
src/gamesbyexample/pygame_games/memorypuzzle.py:156
↓ 1 callersFunctionstartScreen
Display the start screen (which has the title and instructions) until the player presses a key. Returns None.
src/gamesbyexample/pygame_games/starpusher.py:378
↓ 1 callersFunctiontransformPoint
(point, scalex=None, scaley=None, translatex=None, translatey=None)
inprogress/rotatingsphere.py:49
↓ 1 callersFunctiontransformPoint
Resizes this 2D point by a scale of scalex and scaley, then moves the point by translatex and translatey.
src/gamesbyexample/fireflies.py:171
↓ 1 callersMethodundo
(self)
inprogress/dropspin.py:130
↓ 1 callersMethodundo
Set the current grid state to the previous state in the self.moves list.
src/gamesbyexample/sudoku.py:70
↓ 1 callersFunctionupdateBoard
Sets the space on the board to mark.
src/gamesbyexample/tictactoe.py:93
↓ 1 callersMethodupdateBoard
Sets the space on the board to player.
src/gamesbyexample/tictactoeoop.py:94
MethodMain
(string[] args)
csharp_ports/matrixscreensaver/Program.cs:7
Method__init__
(self, size)
inprogress/dropspin.py:21
Method__init__
(self, placeName, suspectName, itemName)
inprogress/jaccuse_oop.py:20
Method__init__
(self)
src/gamesbyexample/slitheringsnakes.py:66
Method__init__
Create a new duckling with random body features.
src/gamesbyexample/ducklings.py:73
Method__init__
(self, originalSetup)
src/gamesbyexample/sudoku.py:25
Method__init__
Create a new, blank tic-tac-toe board.
src/gamesbyexample/tictactoeoop.py:44
Method__init__
(self, color)
src/gamesbyexample/zombiebitefight.py:46
Method__init__
(self, color)
src/gamesbyexample/zombiebitefight.py:60
Method__init__
(self, color)
src/gamesbyexample/zombiebitefight.py:73
Method__init__
(self, color, floor)
src/gamesbyexample/floorpainters.py:95
Methodconstructor
()
javascript_games/ducklings.js:87
MethodgetAction
(self)
src/gamesbyexample/zombiebitefight.py:64
MethodgetAction
(self)
src/gamesbyexample/zombiebitefight.py:77
MethodgetAction
(self)
src/gamesbyexample/zombiebitefight.py:86
MethodgetBoardStr
Return a tiny text-representation of the board.
src/gamesbyexample/tictactoeoop.py:100
MethodgetBoardStr
Return a text-representation of the board with hints.
src/gamesbyexample/tictactoeoop.py:123
FunctiongetSevSegStr
Return a seven-segment display string of number. The returned string will be padded with zeros if it is smaller than minWidth.
src/gamesbyexample/sevseg.py:18
FunctioniterativeFloodFill
(field, startx, starty, newChar)
inprogress/floodfill.py:75
FunctionopenFolderClick
(*args)
src/gamesbyexample/__init__.py:153
FunctionopenInventWithPythonWebpage
(*args)
src/gamesbyexample/__init__.py:149
FunctionprogramSelect
(*args)
src/gamesbyexample/__init__.py:54
FunctionquitLauncher
(*args)
src/gamesbyexample/__init__.py:169
FunctionrunClick
(*args)
src/gamesbyexample/__init__.py:93
Functiontest_constants
()
tests/test_towerofhanoi.py:8
Functiontest_displayBoard
(capsys)
tests/test_mancala.py:12
Functiontest_displayBoard
(capsys)
tests/test_chancecheckers.py:15
Functiontest_displayBoard
(capsys)
tests/test_fourinarow.py:117
Functiontest_displayBoard
(capsys)
tests/test_checkers.py:16
Functiontest_displayCards
(capsys)
tests/test_blackjack.py:8
Functiontest_displayDisk
(capsys)
tests/test_towerofhanoi.py:70
Functiontest_displayHands
(capsys)
tests/test_blackjack.py:79
Functiontest_displayTowers
(capsys)
tests/test_towerofhanoi.py:98
Functiontest_getBet
()
tests/test_blackjack.py:111
Functiontest_getCardValue
()
tests/test_blackjack.py:46
Functiontest_getClues
()
tests/test_bagels.py:15
Functiontest_getDeck
()
tests/test_blackjack.py:67
Functiontest_getMove
()
tests/test_blackjack.py:152
Functiontest_getNewBoard
()
tests/test_mancala.py:8
Functiontest_getNewBoard
()
tests/test_chancecheckers.py:11
Functiontest_getNewBoard
()
tests/test_fourinarow.py:64
Functiontest_getNewBoard
()
tests/test_checkers.py:12
Functiontest_getPlayerMove
()
tests/test_chancecheckers.py:71
Functiontest_getPlayerMove
(capsys)
tests/test_towerofhanoi.py:12
Functiontest_getPlayerMove
()
tests/test_fourinarow.py:72
Functiontest_getPlayerMove
()
tests/test_checkers.py:72
Functiontest_getPossibleDstMoves
()
tests/test_chancecheckers.py:64
Functiontest_getPossibleDstMoves
()
tests/test_checkers.py:65
Functiontest_getSecretNum
()
tests/test_bagels.py:8
Functiontest_hasLost
()
tests/test_chancecheckers.py:110
Functiontest_hasLost
()
tests/test_checkers.py:111
Functiontest_isFull
()
tests/test_fourinarow.py:48
Functiontest_isWinner
()
tests/test_fourinarow.py:6
Functiontest_main
(capsys)
tests/test_mancala.py:51
Functiontest_main
(capsys)
tests/test_chancecheckers.py:7
Functiontest_main
(capsys)
tests/test_towerofhanoi.py:61
Functiontest_main
(capsys)
tests/test_blackjack.py:182
Functiontest_main
(capsys)
tests/test_fourinarow.py:157
Functiontest_main
(capsys)
tests/test_bagels.py:33
Functiontest_main
(capsys)
tests/test_checkers.py:8
Functiontest_makeMove
()
tests/test_mancala.py:20
Functiontest_makeMove
()
tests/test_chancecheckers.py:95
← previousnext →601–700 of 712, ranked by callers