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 16537f6 commit 70d1983Copy full SHA for 70d1983
src/apps/genetic-nn.js
@@ -5,6 +5,8 @@ import { Runner } from '../game';
5
import NNModel from '../ai/models/genetic-nn/NNModel';
6
import GeneticModel from '../ai/models/genetic/GeneticModel';
7
8
+const T_REX_COUNT = 10;
9
+
10
const geneticModel = new GeneticModel();
11
const rankList = [];
12
@@ -13,7 +15,7 @@ let runner = null;
13
15
function setup() {
14
16
// Initialize the game Runner.
17
runner = new Runner('.game', {
- T_REX_COUNT: 4,
18
+ T_REX_COUNT,
19
onReset: handleReset,
20
onCrash: handleCrash,
21
onRunning: handleRunning
0 commit comments