MCPcopy Create free account

hub / github.com/danicat/pacgo / functions

Functions142 in github.com/danicat/pacgo

↓ 8 callersFunctionmoveCursor
(row, col int)
step09/main.go:95
↓ 8 callersFunctionmoveCursor
(row, col int)
step10/main.go:113
↓ 5 callersFunctionmoveCursor
(row, col int)
step08/main.go:91
↓ 5 callersFunctionmoveCursor
(row, col int)
step07/main.go:85
↓ 4 callersMethodCost
()
stepxx/chaser.go:111
↓ 4 callersFunctionIsLegal
(pos Point)
stepxx/sprite.go:60
↓ 4 callersFunctionmoveCursor
(row, col int)
stepxx/screen.go:32
↓ 4 callersFunctionupdateGhosts
(ghosts []*ghost, ghostStatus GhostStatus)
step10/main.go:253
↓ 3 callersFunctiondistance
(p1, p2 Point)
stepxx/chaser.go:134
↓ 3 callersFunctionmakeMove
(oldPos Point, dir string)
stepxx/sprite.go:64
↓ 2 callersMethodKill
()
stepxx/player.go:37
↓ 2 callersMethodPos
()
stepxx/sprite.go:8
↓ 2 callersFunctionabs
(n int)
stepxx/chaser.go:129
↓ 2 callersFunctionmakeMove
(oldRow, oldCol int, dir string)
step09/main.go:176
↓ 2 callersFunctionmakeMove
(oldRow, oldCol int, dir string)
step08/main.go:157
↓ 2 callersFunctionmakeMove
(oldRow, oldCol int, dir string)
step10/main.go:200
↓ 2 callersFunctionmakeMove
(oldRow, oldCol int, dir string)
step05/main.go:111
↓ 2 callersFunctionmakeMove
(oldRow, oldCol int, dir string)
step07/main.go:151
↓ 2 callersFunctionmakeMove
(oldRow, oldCol int, dir string)
step04/main.go:104
↓ 2 callersFunctionmakeMove
(oldRow, oldCol int, dir string)
step06/main.go:112
↓ 2 callersMethodnextPoint
()
stepxx/chaser.go:115
↓ 1 callersMethodDown
()
stepxx/sprite.go:27
↓ 1 callersMethodImg
()
stepxx/sprite.go:9
↓ 1 callersMethodLeft
()
stepxx/sprite.go:38
↓ 1 callersMethodMove
()
stepxx/sprite.go:7
↓ 1 callersFunctionNewChaser
NewChaser creates a new ghost
stepxx/chaser.go:12
↓ 1 callersFunctionNewGhost
NewGhost creates a new ghost
stepxx/ghost.go:12
↓ 1 callersFunctionNewPlayer
NewPlayer creates a new player
stepxx/player.go:18
↓ 1 callersMethodRight
()
stepxx/sprite.go:49
↓ 1 callersMethodUp
()
stepxx/sprite.go:16
↓ 1 callersFunctioncleanup
()
step09/main.go:256
↓ 1 callersFunctioncleanup
()
step08/main.go:237
↓ 1 callersFunctioncleanup
()
step10/main.go:306
↓ 1 callersFunctioncleanup
()
step05/main.go:184
↓ 1 callersFunctioncleanup
()
step07/main.go:231
↓ 1 callersFunctioncleanup
()
step04/main.go:170
↓ 1 callersFunctioncleanup
stty -cbreak echo
stepxx/screen.go:22
↓ 1 callersFunctioncleanup
()
step06/main.go:185
↓ 1 callersFunctioncleanup
()
step02/main.go:63
↓ 1 callersFunctioncleanup
()
step03/main.go:143
↓ 1 callersFunctiondrawDirection
()
step09/main.go:228
↓ 1 callersFunctiondrawDirection
()
step08/main.go:209
↓ 1 callersFunctiondrawDirection
()
step10/main.go:278
↓ 1 callersFunctiondrawDirection
()
step05/main.go:156
↓ 1 callersFunctiondrawDirection
()
step07/main.go:203
↓ 1 callersFunctiondrawDirection
()
step04/main.go:142
↓ 1 callersFunctiondrawDirection
()
step06/main.go:157
↓ 1 callersMethoddrawDirection
()
stepxx/ghost.go:43
↓ 1 callersMethoddrawDirection
()
stepxx/chaser.go:50
↓ 1 callersMethodfind
implements A* pathfinding algorithm move cost = 1 no diagonal movement allowed heuristic = manhattan distance
stepxx/chaser.go:65
↓ 1 callersFunctiongetLivesAsEmoji
concatenate the correct number of player emojis based on lives
step09/main.go:140
↓ 1 callersFunctiongetLivesAsEmoji
concatenate the correct number of player emojis based on lives
step10/main.go:164
↓ 1 callersFunctiongiveDirection
(curr, dest Point)
stepxx/chaser.go:83
↓ 1 callersFunctioninitialise
()
step09/main.go:246
↓ 1 callersFunctioninitialise
()
step08/main.go:227
↓ 1 callersFunctioninitialise
()
step10/main.go:296
↓ 1 callersFunctioninitialise
()
step05/main.go:174
↓ 1 callersFunctioninitialise
()
step07/main.go:221
↓ 1 callersFunctioninitialise
()
step04/main.go:160
↓ 1 callersFunctioninitialise
()
stepxx/screen.go:11
↓ 1 callersFunctioninitialise
()
step06/main.go:175
↓ 1 callersFunctioninitialise
()
step02/main.go:53
↓ 1 callersFunctioninitialise
()
step03/main.go:133
↓ 1 callersMethodisClosed
(p Point)
stepxx/chaser.go:138
↓ 1 callersMethodisOpen
(p Point)
stepxx/chaser.go:143
↓ 1 callersFunctionloadConfig
(file string)
step09/main.go:50
↓ 1 callersFunctionloadConfig
(file string)
step08/main.go:46
↓ 1 callersFunctionloadConfig
(file string)
step10/main.go:68
↓ 1 callersFunctionloadConfig
(file string)
step07/main.go:40
↓ 1 callersFunctionloadConfig
()
stepxx/main.go:39
↓ 1 callersFunctionloadMaze
(file string)
step09/main.go:66
↓ 1 callersFunctionloadMaze
(file string)
step08/main.go:62
↓ 1 callersFunctionloadMaze
(file string)
step10/main.go:84
↓ 1 callersFunctionloadMaze
(file string)
step05/main.go:26
↓ 1 callersFunctionloadMaze
(file string)
step01/main.go:12
↓ 1 callersFunctionloadMaze
(file string)
step07/main.go:56
↓ 1 callersFunctionloadMaze
(file string)
step04/main.go:23
↓ 1 callersFunctionloadMaze
()
stepxx/main.go:60
↓ 1 callersFunctionloadMaze
(file string)
step06/main.go:27
↓ 1 callersFunctionloadMaze
(file string)
step02/main.go:15
↓ 1 callersFunctionloadMaze
(file string)
step03/main.go:21
↓ 1 callersFunctionmakeMove
(oldRow, oldCol int, dir string)
step03/main.go:95
↓ 1 callersFunctionmoveGhosts
()
step09/main.go:239
↓ 1 callersFunctionmoveGhosts
()
step08/main.go:220
↓ 1 callersFunctionmoveGhosts
()
step10/main.go:289
↓ 1 callersFunctionmoveGhosts
()
step05/main.go:167
↓ 1 callersFunctionmoveGhosts
()
step07/main.go:214
↓ 1 callersFunctionmoveGhosts
()
step04/main.go:153
↓ 1 callersFunctionmoveGhosts
()
step06/main.go:168
↓ 1 callersFunctionmovePlayer
(dir string)
step09/main.go:210
↓ 1 callersFunctionmovePlayer
(dir string)
step08/main.go:191
↓ 1 callersFunctionmovePlayer
(dir string)
step10/main.go:234
↓ 1 callersFunctionmovePlayer
(dir string)
step05/main.go:145
↓ 1 callersFunctionmovePlayer
(dir string)
step07/main.go:185
↓ 1 callersFunctionmovePlayer
(dir string)
step04/main.go:138
↓ 1 callersFunctionmovePlayer
(dir string)
step06/main.go:146
↓ 1 callersFunctionmovePlayer
(dir string)
step03/main.go:129
↓ 1 callersMethodmovePlayer
(dir string)
stepxx/player.go:60
↓ 1 callersFunctionprintScreen
()
step09/main.go:103
↓ 1 callersFunctionprintScreen
()
step08/main.go:99
next →1–100 of 142, ranked by callers