add bias number to cell DNA
@@ -227,7 +227,8 @@ function AddRandomCell(dna)
227
227
id: id,
228
228
type: TYPES[selected],
229
229
inputs: [],
230
pos: pos
230
pos: pos,
231
bias: 0
231
232
}
232
233
233
234
dna.push(cell);
@@ -227,7 +227,8 @@ function AddRandomCell(dna)227
id: id,227
id: id,228
type: TYPES[selected],228
type: TYPES[selected],229
inputs: [],229
inputs: [],230
pos: pos230
pos: pos,231
bias: 0231
}232
}232
233
233
dna.push(cell);234
dna.push(cell);