Thursday, January 20, 2022

Infinite Monkey Machine 1-20-22

The Infinite Monkey Theorem states that "A monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times." (Wikipedia)

This was tested in 2002 and it was discovered that this theory is in fact false. "Monkeys are not random generators. They're more complex than that. They were quite interested in the screen, and they saw that when they typed a letter, something happened. There was a level of intention there." (Wired)

Even mathematically speaking, if there were as many monkeys as there are atoms in the universe, there is still miniscule chance of actually typing a coherent document. I'm not going to reiterate what is said on the Wikipedia page because they've already explained it so well. I'll just leave you with this quote:

"For a one in a trillion chance of success, there would need to be 10,360,641 observable universes made of protonic monkeys."

That being said, with the advent of the computer we don't have to worry about the animal rights violations associated with forcing countless trillions of monkeys to do our bidding. I've written a small python program that will randomly generate words based on the frequencies of a character occurring in the complete works of Shakespeare, (see chart below).


I'm working on a small website that displays the results, I will link the website in the future.

You can view the code yourself here 

Thursday, January 6, 2022

RBR Rally Monza: Serraglio Update

 I have decided to officially put this project on hold.

Making this was great fun and helped me get through some semesters of engineering school. That being said, I need to put my efforts elsewhere for now.


As I was going into this project completely blind I made a number of mistakes from the beginning that have really hampered progress in the latter half of the project. I would like to take what I've learned here and put that to use in creating another stage. And later on return to Monza with the knowledge I've gained.


I don't want to produce anything that isn't of high quality, and as it stands right now I can't pursue developing Monza with my current knowledge.

It has been a great process, and I would like to return in the future.

Idea: Procedural Stage Generator

Introduction:

Rather than making an individual stage, I model a large area and procedurally connect random start and finish points to make stages.

The end goal is to have a large library of RBR stages that can be pulled up at random.


E.g. A tournament is using my stage "HEUVELLAND". The members competing have no idea what the actual route will look like, it is chosen at random from the library of various stages made with procedural routes. This lightens the competitive nature of the game and allows for casual and serious players to compete on a slightly more level playing field.


This may be an idea that deserves implementation BEYOND rbr. Perhaps my own game?

I'm not nearly experienced enough as a developer to take on a task like that right now, however. I will continue forward making the RBR arena stage. I need to come up with a better name than that.

Below are some days of testing this idea:

About Me

Hi! my name is Shane Howell. I'm a mechanical engineering / music double-major student studying at Western Michigan University in the US...