Game Maker's Garage Forum

Game Maker's Garage => Contests => Topic started by: WarHampster on September 24, 2012, 09:09:45 PM

Title: Philosopher's Cup
Post by: WarHampster on September 24, 2012, 09:09:45 PM
I challenge you to create an interactive computer program that expresses a philosophical idea.

Suggest rules.
Title: Re: Philosopher's Cup
Post by: Connors on September 24, 2012, 09:31:48 PM

I like the theme! It's open to a broad range of interpretations. Reminds me of what we were discussing in History class, I bet I can draw from that.
Title: Re: Philosopher's Cup
Post by: WarHampster on September 24, 2012, 09:47:59 PM
Suggested start: right now.
Suggested end: October 8th.

Reuse of code and assets is fine.
Title: Re: Philosopher's Cup
Post by: GMG Kurt on September 26, 2012, 09:22:21 PM
oh god I just came up with the perfect idea for this.
Title: Re: Philosopher's Cup
Post by: x on September 27, 2012, 05:46:19 AM
I actually think this is an excellent idea. I might knock something small up.
Title: Re: Philosopher's Cup
Post by: WarHampster on September 28, 2012, 05:52:08 AM
I have started my game.

It features poetry and breakcore.
Title: Re: Philosopher's Cup
Post by: Charlo on September 28, 2012, 09:04:18 PM
If you need some inspiration, I found this list on Wikipedia: http://en.wikipedia.org/wiki/List_of_philosophical_concepts

Title: Re: Philosopher's Cup
Post by: Zoo on September 28, 2012, 09:48:19 PM
Does the winner get the philosopher's stone? If so, I'm in. I could use a bit more elixer of life. I only have 600 years worth, and I want to outlive Yoda.
Title: Re: Philosopher's Cup
Post by: WarHampster on October 01, 2012, 12:53:25 PM
I could send you hallucinogenic truffles, but I can't gurantee they'll positively affect your lifespan.
Title: Re: Philosopher's Cup
Post by: x on October 02, 2012, 12:30:59 AM
I might try to do a really simple text based adventure in a functional language like F#.
Title: Re: Philosopher's Cup
Post by: WarHampster on October 02, 2012, 08:35:52 PM
My entry is going to be a sort of experiment in which participants use a function of the following type signature:

language -> music

The purpose of this experiment is to demonstrate the neuroscientific hypothesis that figurative language excites diverse regions of the brain, such as those involved in audio perception. Participants will select pieces of figurative and literal writing that they are familiar with. The function will convert one of the pieces to a breakbeat. After listening to the beat, the participant will be asked to identify the writing from which it originated.

Hypothesis: participants will identify figurative writing more quickly and with greater accuracy than literal writing.

Neuroscience is the new philosophy!
Title: Re: Philosopher's Cup
Post by: Connors on October 02, 2012, 11:03:21 PM
I wish I'd given myself more time to program something, I hate deadlines. Maybe I can still whip together a game in Processing.
Title: Re: Philosopher's Cup
Post by: WarHampster on October 02, 2012, 11:14:50 PM
I love deadlines. I love the whooshing sound they make as they fly by.

(Douglas Adams)

But seriously make something, anything! This is a challenge of spontaneity, of anarchy - take the first thing that pops into your head and spin it into a thing made of zeros and ones and cough it up onto the internet to be assimilated into the whirlwind of of bits and bytes and words that make some sort of sense if filtered through the right models.
Title: Re: Philosopher's Cup
Post by: x on October 05, 2012, 06:44:22 AM
So I made this nifty little text based adventure engine in F# in ~40 lines. I say nifty because its purely functional, and thus entirely side-effect free. I'm going to try and see what I can do with <= 100 lines of code, including all game data definition (dialogue and descriptions). We'll see how I go.
Title: Re: Philosopher's Cup
Post by: WarHampster on October 05, 2012, 05:36:21 PM
That sounds really cool! I think that forcing oneself to work inside restrictions (however arbitrary) can spur creativity.

Do you use F# often? My experience in functional programming is in Scheme and SML and while I understand the appeal of pithy code I think I'd go crazy trying to organize a large project under that paradigm.
Title: Re: Philosopher's Cup
Post by: x on October 05, 2012, 08:18:00 PM
That sounds really cool! I think that forcing oneself to work inside restrictions (however arbitrary) can spur creativity.

Do you use F# often? My experience in functional programming is in Scheme and SML and while I understand the appeal of pithy code I think I'd go crazy trying to organize a large project under that paradigm.

Yeh I use F# often. I used to use OCaml a lot, and to a lesser extent SML (Ocaml is based on SML, F# is based on Ocaml. They are all similar languages). They attraction for me is the extremely good multithreading support, something which Ocaml just plain doesn't and will never have, and which SML doesn't do very well.

I haven't used Scheme a lot, but I do know a little Common Lisp, which is an offshoot from the same parent language. I'm also learning Haskell at the moment, and I would say I am passingly fluent at it.

I find structuring big functional projects is slightly more difficult than object oriented projects. But once done, they almost never needs re-factoring and tend to end up with 'hidden features' instead of hidden bugs. SML has a really nice feature set for functors, as does Ocaml. However F# beats both with its GREAT module system.

I am happy to post whatever code I make if anyone wants to see it.
Title: Re: Philosopher's Cup
Post by: Charlo on October 05, 2012, 09:46:01 PM
Working on a Javascript/HTML5 thingy at the moment.  We'll see if I can make it more "game-like" before the deadline, right now it's more like a simulation.
Title: Re: Philosopher's Cup
Post by: WarHampster on October 05, 2012, 10:11:04 PM
"Game-like" is not a requirement  ;)

I am happy to post whatever code I make if anyone wants to see it.

Please! My favorite feature of SML is the pattern matching system... it would be really interesting to see that implemented in a more modern language.

Title: Re: Philosopher's Cup
Post by: x on October 05, 2012, 10:35:02 PM
"Game-like" is not a requirement  ;)

I am happy to post whatever code I make if anyone wants to see it.

Please! My favorite feature of SML is the pattern matching system... it would be really interesting to see that implemented in a more modern language.

I use pattern matching pretty heavily in combination with discriminated unions. I love the ML language, it just feels so... pragmatic. Also I'm getting pretty well through this super simple text adventure. I'll probably post it soon!

If you like SML, by the way, have you checked out MLton? Its an extremely good SML compiler capable of making ridiculously optimized binaries.
Title: Re: Philosopher's Cup
Post by: x on October 06, 2012, 06:49:56 AM
So here is the source code of my little game. To run it you'll need to install the latest version of mono (if you are on mac), compile it with the FSharp compiler which comes with the latest version of mono (command line is 'fsc filename.fs' I think), then run it with mono ('mono compiledAppName.exe'). Its quite similar if you are on linux. Heres the official 'guide' for both:
http://fsxplat.codeplex.com/

For Windows you can compile it using the .NET FSharp compiler that comes with Visual Studio if you have it, or using mono. The FSharp compiler itself is open source, so you don't actually need Visual Studio to get it and use it. But I don't really know how since I just use Visual Studio when I am on Windows--FSharp has great .NET integration, its a first class citizen along with C#, same goes for Mono actually!

There might be spelling/grammatical mistakes. I was just typing right into the IDE with no spell checking or proof reading whatsoever.
Title: Re: Philosopher's Cup
Post by: Charlo on October 08, 2012, 07:40:01 PM
http://charlo.gamemakersgarage.com/games/conatus.php

Conatus, according to the all-knowing Wikipedia, is the innate inclination of an object to continue existing and furthering itself.  My take on this concept is a simulation of life vying on what I call the "Gaiagrid" (really just an HTML canvas, but that ruins the mood).  Try it out!

(Important note: click the "Reset" button to enact any changes you make to the Gaiagrid parameters!)
Title: Re: Philosopher's Cup
Post by: x on October 09, 2012, 12:55:23 AM
http://charlo.gamemakersgarage.com/games/conatus.php

Conatus, according to the all-knowing Wikipedia, is the innate inclination of an object to continue existing and furthering itself.  My take on this concept is a simulation of life vying on what I call the "Gaiagrid" (really just an HTML canvas, but that ruins the mood).  Try it out!

(Important note: click the "Reset" button to enact any changes you make to the Gaiagrid parameters!)

Reminds me of Conway's 'game of life', in a good way.
Title: Re: Philosopher's Cup
Post by: Connors on October 09, 2012, 10:42:00 AM
The Conatus thing was an interesting program. I think you could determine what behavior is the best for survival by giving different traits to different colors. This would make it a better analog of real living organisms.

On a side note, it reminds me of the board game Blokus because you had to place pieces in a way that would make it hard for others to keep placing, and there were similar rules (same colored edges can't touch, corners and other colors are OK, etc).

Any chance at all I could see the compiled form of the other program?

EDIT: With enough tweaking you can get fun patterns:
Title: Re: Philosopher's Cup
Post by: Circuit on October 09, 2012, 02:17:16 PM
http://charlo.gamemakersgarage.com/games/conatus.php

Conatus, according to the all-knowing Wikipedia, is the innate inclination of an object to continue existing and furthering itself.  My take on this concept is a simulation of life vying on what I call the "Gaiagrid" (really just an HTML canvas, but that ruins the mood).  Try it out!

(Important note: click the "Reset" button to enact any changes you make to the Gaiagrid parameters!)
That's really cool!
Title: Re: Philosopher's Cup
Post by: WarHampster on October 10, 2012, 10:01:27 PM
I'm late to my own party! I'm really glad that you guys took the time to make things, they look awesome, and I'll look at them in more depth as soon as I have some time.

I had a epiphany that completely changed the direction of my project, as I usually do. So here's my take on Object-oriented ontology:

Mac - http://www.arcadeoftheabsurd.com/files/allthethings_mac.zip
Win - http://www.arcadeoftheabsurd.com/files/allthethings_win.zip
Title: Re: Philosopher's Cup
Post by: WarHampster on October 10, 2012, 11:09:11 PM
Post your things, by the way. Here are some of mine:

Ben Jeby
EusLisp Robot Programming Language
Derby Philosophical Society
President of the General Council
Christianity in Shandong