Hacker GitHub

← All repos

andrewrk/tetris

View on GitHub ↗ ★ 495 Zig

A simple tetris clone written in zig programming language.

6 mentions on Hacker News by 5 people: 1 story, 5 comments · first 2016-02-01 · latest 2020-09-19

Mentions per year 6 mentions · busiest year 2016 (4)
20082026
  1. …but no game engine I know of yet [1,2]. [0] https://www.raylib.com/ [1] https://ziglang.org/ [2] https://github.com/andrewrk/tetris/blob/master/build.zig
  2. This is a tetris clone made in zig https://github.com/andrewrk/tetris I bit hard to follow without the syntax highlighting, but seems a good example of what a larger application would look like.
  3. …C libraries? They give an example of a tetris clone in Zig. This is how they include GLFW with Zig: https://github.com/andrewrk/tetris/blob/master/src/c.zig and all other locations in the project just import this c.zig file. In contrast in…
  4. Direct link to the Tetris game’s source code: https://github.com/andrewrk/tetris/tree/master/src
    comment by roryokane · 2016-02-09 · in Introduction to the Zig Programming Language
  5. …a few minutes ago and I'm really excited to demo it! [1]: https://github.com/andrewrk/zig [2]: https://github.com/andrewrk/tetris/blob/aaf09e30a3a7b9ed8f34... OK I think I understand what the author means by "C/C++ compatible". Check out…