Creating a random dungeon generator is a fun and exciting project to learn Python. In this tutorial, we’ll cover a simple — but effective — algorithm you can use to create a random dungeon using the Python programming language.
Along the way we’ll cover using random numbers to vary the output of our program, ensuring that every dungeon we create is a little bit different.
And finally, using the Pycairo library, we’ll demonstrate how to draw a picture of your dungeon to share on social media. …
Building a guessing game is a great way to get familiar with any new computer programming language. In this tutorial, I’ll walk you through a C++ program that allows the user to guess a secret number.
Our program will pick a secret number at random and the user will get a chance to guess the number. If they choose correctly, we’ll let them know they’ve won the game. Otherwise, we’ll let them know they’ve failed.
What watching old TV has shown me about philosophy.
Like so many of us, I’ve been trapped in my apartment for the last year. Trying to keep from losing it when your home and your office have folded into one nightmare has been an interesting challenge.
In order to pass the time, I’ve been watching old TV shows. Seeing as Hulu generated around $4.4 billion in revenue last year, it would appear I’m not alone.
Two of my favorites have been Cheers and Lost. Both are extraordinary shows and were massively popular when they were on the air.
Programming like an artist.
Piet Mondrian was one of the most influential artists of the 20th century. The Dutch painter, known for his strikingly abstract art, was the founder of the De Stijl movement, a style that favored economy and symbolism.
De Stijl and Mondrian gained international recognition through the German Bauhaus, a school of art that became famous for its principles of design.
Paintings like Broadway Boogie Woogie and Composition C are prime examples of Mondrian’s style. He often used a minimal color palette, and relied on the concept of the grid.
How to turn paranoia into cold, hard cash.
We live in a time where seemingly obscure ideas can suddenly explode, proliferating through the culture at lightning speed. From conspiracy theories to Bitcoin, society is rampant with strange, new ideas.
Where do these ideas come from, you may wonder? How do some ideas spread so quickly, sweeping up minds, and dollars, in the process?
How do oddball candidates take over prominent political parties?
I came across my first clue to these mysteries while training as a copywriter. My boss had me read Joseph Surgarman’s The Adweek Copywriting Handbook: The Ultimate Guide…
Unlock your artistic talent with Pillow
As technology takes center stage in our lives, we turn to media to express ourselves. Knowing a programming language like Python can open many doors, including those that swing inward.
With Python, it’s possible to make exciting digital art using the power of pixels. With the Pillow library, Python can read and write image data, making it possible to create endless new works of art.
Programming students often have trouble understanding certain features of Python. Features such as Classes and Dictionaries can be confusing for beginners. Learning how to use these tools is essential for building applications with Python.
It’s important that students get a firm grasp of these concepts early on.
I’ve crafted this exercise specifically to help students gain a deeper understanding of these ideas. We’ll build a random character generator that utilizes advanced features of Python.
This tool is essential for fans of tabletop role playing games.
Anyone who’s played a TTRPG like Dungeons and Dragons — or Pathfinder — knows how…
Invoking mythology of America’s greatness
Twas a dark day in Dallas, November ‘63
A day that will live on in infamy
President Kennedy was a-ridin’ high
Good day to be livin’ and a good day to die
Being led to the slaughter like a sacrificial lamb
He said, “Wait a minute, boys, you know who I am?”
“Of course we do. We know who you are”
Then they blew off his head while he was still in the car
-Bob Dylan, Murder Most Foul
November 22, 1963. One of the most infamous days in American history: the day John F…
Learn programming concepts quickly by making a familiar game.
Python is one of the most popular computer programming languages in the world. It’s considered easier to learn than other popular languages like C++ and Java. This is one reason why Python is quickly becoming a popular choice for beginning computer science students.
In this lesson we’ll cover some of the basics of working with Python by creating a simple game. Everyone knows paper, rock, scissors.
Using Python, we can play against the computer. In the process, we’ll cover some of the fundamental features of running Python code.
Welcome to Socialism
In December, the United States began issuing stimulus checks to American citizens. These $600 checks are designed to keep the average American worker afloat while the nation’s economy continues to stall under the pressure of the COVID-19 virus.
This marks the second round of stimulus checks the United States has issued since the pandemic started. These come on top of billions in PPP loans that bailed out struggling business owners.
It was only a decade ago that an economic crisis forced the American government to issue stimulus checks. In 2009, congress issued the Economic Stimulus Act and…