Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Magic 8-Ball Game | C Programming Example

2.7K views on YouTube

A magic 8-ball game implemented in C, where the player asks a yes or no question and the magic 8-ball provides a response. Source code: https://github.com/portfoliocourses/c-example-code/blob/main/magic_8ball.c. Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!