A Cellular Automata simulating Pokemon (Generation 1) Battling. All Pokemon in simulation have equal strength and hp. The only advantages/disadvantages they have are based on the attacking/defending types.
Eg. Fire deals 2x damage to Grass. Normal does 0 damage to Ghost. Fire does 1/2x damage to Rock, etc.
The code and writeup: [ Ссылка ]
Watch as Pokemon of different types compete for turf.
The colors of each type:
NORMAL = 0xFFFFFF (white)
FIGHT = 0x9b2c00 (maroon)
FLYING - 0xf8def9 (light pink)
POISON 0x820358 (light purple
GROUND = 0x7f6738 (brown)
ROCK = 0x6b6b6b (gray)
BUG = 0x93d870 (light green)
GHOST = 0x46055b (ghost)
FIRE = 0xFF6608 (orange)
WATER = 0x086FFF (dark blue)
GRASS = 0x1f962b (dark green)
ELECTRIC = 0xfaff72 (yellow)
PSYCHIC = 0xc1579e (light purple/pink)
ICE = 0xbdfcfb (light blue)
DRAGON = 0x33aa9c (bluegreen)
NONE = 0x000000 (black)
Run the code and you will see common themes, but often different endings. While Ghost/Normal often emerge as winners given immunities, It is not uncommon for other surprising types like Bug or Ice to emerge victorious.
Ещё видео!