For curious readers who want to try Bad Banana, but who, understandably, would prefer not to have to download the code and run it on their systems, the game can now be safely played online at https://trinket.io/python/6a564db039?toggleCode=true&runOption=run. Toggle to Code View to see how the game works! Many thanks to the people behind trinket.io, a great … Continue reading Play Bad Banana online at trinket.io!
It's been awhile since my last entry, but here is my latest creation, so to speak. Bad Banana is a text-based math game written in Python 3. My original intention was to use the game as a way to teach basic programming concepts, but I've put that idea on hold--I feel it right that I … Continue reading Bad Banana – A Python Math Game
https://youtu.be/uxQeqE3v8U0 Wanting a programming problem to work on but reluctant to tackle a big project, I returned to an old college textbook to look for something challenging but within my pay-grade, so to speak: Implement sequential search and binary search algorithms on your computer. Run timings for each algorithm on arrays of size n = … Continue reading Search Quest VII: The Search for Search (A Python Story)
?????????🐒🐶🐱🐳🐿🐥????????? \equiv \newline \pi r^2 $latex \equiv \newline \pi r^2 &s=4 $ ?????????🙈😬🙄😮????????? One of the things I don't like about blogging is how long it can take to put together a blog post, even after it has been written, edited and polished. Aside from all the formatting required to make an entry look the way I … Continue reading Kinky Adventures in LaTeX Land: The Sum and Product of Roots of a Quadratic Equation
For this blog entry I wanted to do something different. During the past few weeks I've been working on a program that allows you to enter two points on an XY plane and find the distance between them. The formula to do this is pretty straightforward and can be calculated as follows: So here is … Continue reading A Short Python Script About The Distance Between Two Points
For the last several years in the United States and the UK, there has been a strong push to teach primary and secondary-school students how to code. Whether this is a good idea or not, I personally have enjoyed learning about programming. One of my current hopes is to do more programming using the Python … Continue reading Donkeys, Logs, Snakes, Oh My!