o
odin.langpkg.dev
packages / library / pvp_gol

pvp_gol

68afcfblibrary

No description provided.

Unlicense · updated 3 months ago

PvP Game of Life

A PvP-oriented implementation of Conway's Game of Life written in Odin using Raylib. Two players place their initial cells and watch them compete for dominance on the grid.

Controls

Setup Phase

Placement is only available before the simulation starts.

  • Left Mouse Button: Place cells for Player 1
  • Right Mouse Button: Place cells for Player 2
  • Middle Mouse Button: Erase cells

Simulation

  • Space: Toggle pause/start simulation (requires both players to have at least one cell)
  • N: Advance a single generation manually
  • Plus (=): Increase time between updates (slow down)
  • Minus (-): Decrease time between updates (speed up)