Hacker GitHub

← All repos

raulgrell/tetris

View on GitHub ↗ ★ 170 Zig

A simple tetris clone written in zig programming language.

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2019-05-06 · latest 2019-05-06

Mentions per year 3 mentions · busiest year 2019 (3)
20082026
  1. …bag. I've been calling it "Gambler's Accurate Model of Reality" in a homage to Gambler's Fallacy. https://github.com/raulgrell/tetris/commit/4305cd1ac1bcc9443... That commit is from Feb 7, 2016, and you can see all the TODO comments for…
  2. …itself. There are 2 small "shim files" for WebGL/WebAudio and DOM access written in JS here: https://github.com/raulgrell/tetris/blob/master/env.js and here: https://github.com/raulgrell/tetris/blob/master/dom.js ...and associated Zig…
  3. …are on and how many lines you've filled(?). Here's the part that decides if it should fill or not: https://github.com/raulgrell/tetris/blob/master/src/main.zig...