[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
Pete's QBASIC Site • FAX-ME: Let's write Tetris
Page 1 of 1

FAX-ME: Let's write Tetris

Posted: Fri Dec 15, 2023 3:08 pm
by MikeHawk
If you ever wanted to learn more about binary representation, boolean operators, and how this knowledge can help you program cool stuff, I just uploaded a simple black-and-white page packed with illustrations, code, and step-by-step instructions on how to build your own Tetris engine. Let me know what you think.

Re: FAX-ME: Let's write Tetris

Posted: Fri Dec 15, 2023 5:13 pm
by buddpaul
Wow! This is like an early Christmas gift! Super cool!

Re: FAX-ME: Let's write Tetris

Posted: Sat Dec 16, 2023 3:48 pm
by MikeHawk
buddpaul wrote: Fri Dec 15, 2023 5:13 pm Wow! This is like an early Christmas gift! Super cool!
Thanks! I should probably add some illustrations for the OR operator (XOR is used a few times but never explained, and MOD can be replaced with AND in this case, so I should probably point that out too.) I also spotted some remnants of old code that is no longer necessary (like clearRow taking an argument when the new code no longer uses it.)

Re: FAX-ME: Let's write Tetris

Posted: Tue Dec 19, 2023 11:55 am
by bongomeno
That's a way different and probably better approach to making tetris than what I did. Should be an interesting read. Thank you.