The Chaos Project (working title)

Posted by Powerful Kyurem on Dec. 28, 2013, 1:13 a.m.

So, for the past few days, I have been attempting to literally create chaos in Game Maker.

So what is chaos exactly?

Well, it is a program with one object that randomizes a string and then, if it is valid, executes it.

Sounds simple right? Why do it?

Well, it isn't simple, first of all. There are over 1,000,000 possible permutations, and over half of them are invalid!

So why do this? Well, because it is interesting. What would happen in a chaotic state. There is essentially an equal chance for anything to occur (assuming GM can do it). What would happen? It might make an awesome video game level, AI, weird visual effects, nothing, or (if you ran it in GM Pro that allows external file editing) a virus. The results are limitless.

Currently the 'debugger' uses me to check it. I simply click yes or no on whether it is valid, and it records my answer (granted it resets every time I run it).

I have recently considered having two types of random generated code to limit wasteful combinations:

1. Creating another object.

2. Setting another object's event code to a ligit GML String.

This would limit combinations that do nothing, and would probably increase the amount of chaos in the simulation.

Comments

Castypher 10 years, 10 months ago

Quote:
Hel: I wouldn't pay too close attention to all the comments. A lot of the people started going into a random discussion of programs making programs…
The hell? These comments are entirely relevant.

Powerful Kyurem 10 years, 10 months ago

Kilin & StevenOBrien: I wasn't saying they were irrelevant. I was only saying that some of them were just about comparing my project to other projects, so reading them might just confuse people about what my program does.

Mega: I wasn't talking about it giving me an error message. I was saying that if it didn't flag it /at all/ (even internally) it would probably do something undesirable.

Iasper: Thanks for the tip.

Edit: StevenOBrien: Nice nick. I see you are controlling Cyrus?

Acid 10 years, 10 months ago

@Cesque way in the beginning: larqe - 2nd refresh (I get the point, I just thought it was funny.)

spike1 10 years, 10 months ago

Just something you might find interesting, searching for permeantations takes you directly to this blog, it's famous now! :D

edit: Btw, I know permeantations isn't a word lol :D

eagly 10 years, 10 months ago

That's because permeantations is not a word and no one else would ever use it.

I guess that's one way of doing seo!

Powerful Kyurem 10 years, 10 months ago

Yeah, it was permutations, but my edit must have messed it up. :p

*fixing*

EDIT: R. I. P. StevenOBrien

Castypher 10 years, 10 months ago

Quote:
but my edit must have messed it up
How the fuck?

Spelling mistakes are one thing. Trying to cover them up with a horrible logic mistake is another.

Powerful Kyurem 10 years, 10 months ago

I accidentally erased part of it, and I rewrote it.

firestormx 10 years, 10 months ago

Quote:
I wasn't talking about it giving me an error message. I was saying that if it didn't flag it /at all/ (even internally) it would probably do something undesirable.

An interpreter can only do what you tell it to. Unless GM has machine learning built into it, where it tries to learn new functions, then absolutely nothing would happen if GM didn't flag an error. I just want to clear that up. :P

Toast 10 years, 10 months ago