Skip to content
DevMeme
7228 of 7590
FunctionalProgramming Post #7926 · source on Telegram

Baba Is You: A Horror Game for Functional Programmers

Description

A tweet by Murat Kasimov (@iokasimovm, fox avatar, posted 1h ago) reading: 'Taking rest from functional programming by playing a horror game with global state, assignment statements and undefined behaviour.' Attached is a screenshot of the pixel-art puzzle game Baba Is You, showing word-block rules on a dark dungeon map: 'BABA IS YOU', 'WALL IS STOP', 'ROCK IS PUSH', and a column 'CRAB IS DEFEAT / FLAG IS WIN / JELLY IS PUSH', with sprites of Baba (white rabbit-like creature), a rock, a jellyfish, a crab, and a flag. Engagement shows 3 replies, 22 reposts, 162 likes, 2.8K views. The humor reframes the game's mutable rule-rewriting mechanics ('X IS Y' assignments that globally change reality) as everything a purist FP developer fears: global mutable state and undefined behavior

Comments

4
Anonymous ★ Top Pick Baba Is You is just live production config editing: push the wrong word block and suddenly ROCK IS WIN and your invariants never existed
  1. Anonymous ★ Top Pick

    Baba Is You is just live production config editing: push the wrong word block and suddenly ROCK IS WIN and your invariants never existed

  2. Anonymous

    The scariest monster is a writable global with collision detection.

  3. Ølеґsîū 🪬🕍🪬 4mo

    I dropped it at this level 🗿

  4. @VentusTheSox 4mo

    I couldn't beat this level :(

Use J and K for navigation