This is a classic War card game implemented in Python for Windows. It’s a very easy game to learn and play. The coding of it was actually more fun and challenging. It’s a 2-player game that even kids can play and is a great time-spender. In this game you’re playing against the CPU. The game […]
Tag: fun
A Manifestation Formula
Will your dream come true? If so, how likely is it? What really is your desire composed of? And are there factors that affect that, if so, what are they; and which ones can we control? Following the search for answers to these questions, my ultimate quest was: Can we manufacture a formulation for quantifying […]
A Curious, Remarkable Artist’s Profile: Wain
Louis William Wain (5 August 1860 – 4 July 1939) was an English artist best known for his drawings, which consistently featured anthropomorphized large-eyed cats and kittens. Later in life, he was confined to mental institutions and was alleged to have suffered from schizophrenia. According to some psychiatrists, the onset of schizophrenia can be seen […]
Murphy’s Law – Joking aside 😉
One of today’s most recognized physical laws is Murphy’s Law…one of the seeming fundamental laws of mankind: “If anything can go wrong, it will.” In this post, I discuss its brief history, and entertain the attempt of mathematically formulating his maxim in order to apply to some real-world sitations. The history: The adage or truism, […]
Google honors the father of fiber optics
I found this out “accidentally” today (November 4th) while searching something on the Web, from Google.com landing page. This is what it looked like: As I looked at the binary numbers in their cartoony animation, I see they are:010010110100000101001111 which then translated to text, decimal, and hex are as follows: ASCII Decimal Hex 01001011 K […]
A Very Simple Etch A Sketch Type Program (Python)
Here’s a fun, little application using Python. In this post, I demonstrate drawing lines using just the arrow keys on the keyboard (up/down/left/right). The drawing direction is determined by the arrow key pressed as shown in the clip below: With each keypress a line is drawn in the direction of the arrow head, which is […]
Interactive Text-To-Speech App with Presidents of USA (Python)
In this blog, I’ll discuss how to build an interactive lookup of data and have the results spoken back to you in human language. Specifically, I have a list of all POTUS to-date in a file (Excel, CSV, Text…they’ll work without any code design change). I want to be able to lookup the very first […]
Morse code translator (Python)
In one of my earlier posts, I described how to take text and generate Morse code. For details on that, see Text to Morse: codes and sound generation (Python). In this post, I’ll do the reverse. The application will take Morse code symbols and translate into English text. First, let’s start with a fun fact. […]
Text to Morse: codes and sound generation (Python)
Greetings! In this blog, I’ll discuss how to create a fully functional Python program that takes user inputs as letters, numbers, and symbols and turns them into International Morse codes, and also play the actual sound of the codes as transmitted at 550Hz (20WMP speed). This program is written in Python and while I’m not […]
“God” game—revisited (aka Pop game)
What seems like yonks ago, I wrote a fun, DOS based visual game in college that’s a simple simulation of population growth with some user-inputs to the game (i.e. playing “God”, hence the title). You can read about it here. But here, I’m sharing info about that game, revisited, with a different twist. I rewrote […]