We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dced0e commit 16537f6Copy full SHA for 16537f6
src/apps/genetic.js
@@ -5,8 +5,7 @@ import { Runner } from '../game';
5
import GeneticModel from '../ai/models/genetic/GeneticModel';
6
import RandomModel from '../ai/models/genetic/RandomModel';
7
8
-const trainingInputs = [];
9
-const trainingLabels = [];
+const T_REX_COUNT = 10;
10
11
let runner = null;
12
@@ -16,7 +15,7 @@ const geneticModel = new GeneticModel();
16
15
function setup() {
17
// Initialize the game Runner.
18
runner = new Runner('.game', {
19
- T_REX_COUNT: 10,
+ T_REX_COUNT,
20
onReset: handleReset,
21
onCrash: handleCrash,
22
onRunning: handleRunning
0 commit comments