Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since you mentioned it, me and at least 2 other people have written Tetris in 256 bytes. I used 80286 assembly and you probably can't get away with that these days - even when I did, it was already old. 64 bit code will probably be much bigger. But the main trick besides the right instruction set is to use XOR for drawing, erasing, and collision checks. Have fun!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: