Rename species to generation
This commit is contained in:
parent
3414f38c3a
commit
f3f2547724
10 changed files with 31 additions and 31 deletions
|
|
@ -76,8 +76,8 @@ const main = async () => {
|
|||
|
||||
const updateCounters = () => {
|
||||
elements.counters.innerHTML = `FPS: ${deltaTimeCalculator.fps.toFixed(2)}
|
||||
Gen1: ${game?.aliveAgentCounts.currentGenerationCount ?? 0}
|
||||
Gen2: ${game?.aliveAgentCounts.nextGenerationCount ?? 0}`;
|
||||
current gen: ${game?.aliveAgentCounts.currentGenerationCount ?? 0}
|
||||
next gen: ${game?.aliveAgentCounts.nextGenerationCount ?? 0}`;
|
||||
window.requestAnimationFrame(updateCounters);
|
||||
};
|
||||
updateCounters();
|
||||
|
|
|
|||
Loading…
Reference in a new issue