Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicCube/tensorflow-rex-run
/ functions
Functions
146 in github.com/MagicCube/tensorflow-rex-run
⨍
Functions
146
◇
Types & classes
30
Function
handleCrash
({ tRex })
src/apps/genetic-nn.js:80
Function
handleCrash
({ tRex })
src/apps/random.js:46
Function
handleCrash
({ tRex })
src/apps/genetic.js:60
Function
handleCrash
({ tRex })
src/apps/template.js:31
Function
handleReset
({ tRexes })
src/apps/nn.js:24
Function
handleReset
({ tRexes })
src/apps/nnm.js:31
Function
handleReset
({ tRexes })
src/apps/genetic-nn.js:30
Function
handleReset
({ tRexes })
src/apps/random.js:24
Function
handleReset
({ tRexes })
src/apps/genetic.js:30
Function
handleReset
({ tRexes })
src/apps/template.js:21
Function
handleRunning
({ tRex, state })
src/apps/nn.js:41
Function
handleRunning
({ tRex, state })
src/apps/nnm.js:48
Function
handleRunning
({ tRex, state })
src/apps/genetic-nn.js:60
Function
handleRunning
({ tRex, state })
src/apps/random.js:38
Function
handleRunning
({ tRex, state })
src/apps/genetic.js:52
Function
handleRunning
({ tRex, state })
src/apps/template.js:26
Method
init
()
src/game/Runner.js:130
Method
init
()
src/ai/models/random/RandomModel.js:7
Method
init
()
src/ai/models/nn/NNModel.js:27
Function
isTensor
(obj)
src/ai/utils/index.js:3
Function
noop
()
src/game/Runner.js:536
Function
noop
()
src/game/TrexGroup.js:90
Method
play
()
src/game/Runner.js:433
Method
predict
(inputXs)
src/ai/models/random/RandomModel.js:11
Method
removeFirstObstacle
()
src/game/Horizon.js:145
Method
reset
* Reset the distance meter back to '00000'.
src/game/DistanceMeter.js:233
Method
reset
* Reset the horizon layer. * Remove existing obstacles and reposition the horizon line.
src/game/Horizon.js:206
Method
reset
* Reset horizon to the starting position.
src/game/HorizonLine.js:128
Method
reset
()
src/game/TrexGroup.js:42
Method
resize
* Update the canvas width and scaling. * @param {number} width Canvas width. * @param {number} height Canvas height.
src/game/Horizon.js:216
Method
setChromosome
(chromosome)
src/ai/models/genetic/RandomModel.js:8
Function
setFPS
(value)
src/game/RuntimeConfig.js:7
Method
setJumpVelocity
* Setter for the jump velocity. * The approriate drop velocity is also set.
src/game/Trex.js:142
Function
setup
()
src/apps/nn.js:9
Function
setup
()
src/apps/nnm.js:16
Function
setup
()
src/apps/genetic-nn.js:15
Function
setup
()
src/apps/random.js:9
Function
setup
()
src/apps/genetic.js:15
Function
setup
()
src/apps/template.js:8
Method
train
()
src/ai/models/random/RandomModel.js:21
Method
train
(inputXs, inputYs)
src/ai/models/nn/NNModel.js:50
Method
update
* Update the cloud position. * @param {number} speed
src/game/Cloud.js:79
Method
update
* Update the horizon line. * @param {number} deltaTime * @param {number} speed
src/game/HorizonLine.js:114
Method
update
* Obstacle frame update. * @param {number} deltaTime * @param {number} speed
src/game/Obstacle.js:191
Method
update
(deltaTime, status)
src/game/TrexGroup.js:18
Method
updateJump
(deltaTime, speed)
src/game/TrexGroup.js:34
← previous
101–146 of 146, ranked by callers