~/talk

Evolving Game Development with Genetic Algorithms

Talkat WhatTheStack 2024 Β· on Saturday, 2024-09-14Β· [game-development, machine-learning]
slides:none on file

Built a browser game called Egg Drop using React + Konva + xstate and asset tools (Logoist, TexturePacker, Howler.js). A genetic algorithm controls hens: genotype-to-phenotype mapping, roulette selection, per-gene crossover and mutation, fitness rewards for eggs laid or uncaught and penalties for zero laying. Population was initially ~10, causing poor evolution until changed to staggered bombing runs to enlarge population. Over 16 generations (one player) hen speed and laying rates trend up and player catch rate generally trends down but results are noisy.

AI-written summary Β· about

  1. 0:00Introduction and background
  2. 7:51Inspiration from Malaga museum
  3. 10:30Introducing the egg drop game
  4. 11:33Building the game with React and Konva
  5. 16:07State machines in game development
  6. 18:35Creating game graphics and sprites
  7. 23:50Fonts and loading states
  8. 24:55Adding sound effects
  9. 25:38Integrating genetic algorithms
  10. 30:36Gameplay demonstration
  11. 31:40Analyzing GA performance data
  12. 32:02Summary and final thoughts
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark β€” the status bar button does the same
← β†’
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter β€” or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.