Showing posts with label human complex systems science. Show all posts
Showing posts with label human complex systems science. Show all posts

Thursday, May 13, 2010

I am The Laughing Man

This is a small sketch I thought I would post just for the fun of it. I am taking an artificial intelligence seminar this quarter and our discussion on augmented reality inspired me to try my hand at OpenCV. I have been having trouble getting the sketch to run efficiently, but I have seen some fantastic OpenCV programs done in Processing, so I know it's possible. Something for me to work on once I have the free time. In the meantime, here is my super awkward screen capture!

Monday, March 29, 2010

Another text RPG part 2

So as I mentioned in my previous post, Another text RPG, I had really hoped to make my text RPG more than just a choose your own adventure website. Well for another project in the same class we had the assignment of creating a situational simulation that incorporated some kind of skill check. I created an RPG style battle system (yes there seems to be a pattern here). This is basically what I wanted to add to the previous project, aside from a more interesting GUI, but they ended up being separate. Maybe someday I will have the time to combine them, but for now they are what they are.

So here it is, Magical Gladiator! I hope you enjoy it :)

Friday, March 26, 2010

Another text RPG

Near the beginning of my Artificial Cultures class we had the assignment of making some sort of "branching simulation," basically another choose your own adventure project in JavaScript. I had done these before, it's a pretty common homework assignment for learning if-else statements, so I decided I would try to add a twist to this one. Unfortunately because I procrastinated and did the project the night before, the twist only went so far as adding a dice roll to certain events where your character selection affected your chance of success.

If I were to continue working on this assignment, which I most likely will not, I would try to be rid of the alert windows. Because they are easy to learn and quick to write, many of our simulations in this class utilized these prompt windows. I would be interested in creating a browser-based interface for something like this in later projects.

So here it is: An Adventurer's Quest

Sunday, February 28, 2010

The Golden Rule (Prisoner's Dilema)

So I wasn't going to publish this, but I found an article that sparked my interest. The article discusses the known golden rule and it's role in a simulation known as "The Prisoner's Dilemma." The thought process can continue into the grounds of computer decision making, but I'll let you read the article and think on it yourself.

I did a recreation of the prisoner's dilemma in JavaScript for my artificial cultures class. It was thrown together in one evening, so it may not be perfect, but it should give a feel for the simulation.

The computer's strategies consist of: cooperate (computer always cooperates) compete (computer always competes) tit for tat (computer optimistically cooperates first, and then does what the player did on the previous turn. the golden rule) tit for two tats (computer has a memory span of two turns and always cooperates unless the player competes for two turns straight).