🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest blit Activity

Alberth
April 05, 2020 06:12 PM

Basically, what happens is that you let go of seeing integers as values, and instead see them as a collection of 0/1 bits. Python has operators &, |, ^, <<, and >>  to work with collections of bits. The bits view is also why ‘bin’, ‘oct’, and ‘hex’ exist in Python. A decimal va…

6,231 views
Advertisement
Advertisement
Advertisement