Play Bad Banana online at trinket.io!

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!

Bad Banana – A Python Math Game

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

Search Quest VII: The Search for Search (A Python Story)

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)

A Short Python Script About The Distance Between Two Points

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