Topic:   Philosopher's Cup   (Read 24739 times)


0 Members and 1 Guest are viewing this topic.

x


  • GMG-er

  • **


  • Posts: 247
Re: Philosopher's Cup
« Reply #15 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.
« Last Edit: October 05, 2012, 08:20:09 PM by x »

Charlo


  • GMG-er

  • **


  • Posts: 451
Re: Philosopher's Cup
« Reply #16 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.

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: Philosopher's Cup
« Reply #17 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.


x


  • GMG-er

  • **


  • Posts: 247
Re: Philosopher's Cup
« Reply #18 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.
« Last Edit: October 06, 2012, 02:45:49 AM by x »

x


  • GMG-er

  • **


  • Posts: 247
Re: Philosopher's Cup
« Reply #19 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.
« Last Edit: October 06, 2012, 09:26:01 AM by x »

Charlo


  • GMG-er

  • **


  • Posts: 451
Re: Philosopher's Cup
« Reply #20 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!)

x


  • GMG-er

  • **


  • Posts: 247
Re: Philosopher's Cup
« Reply #21 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.
« Last Edit: October 09, 2012, 01:30:09 AM by x »

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: Philosopher's Cup
« Reply #22 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:
« Last Edit: October 09, 2012, 10:57:15 AM by Connors »
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Circuit


  • GMG-er

  • **


  • Posts: 299

  • blast from the past
Re: Philosopher's Cup
« Reply #23 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!

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: Philosopher's Cup
« Reply #24 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

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: Philosopher's Cup
« Reply #25 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

FrankJScott


  • GMG-er

  • **

  • no avatar

  • Posts: 431

  • Gan is so awesome.
Updated Product Info
« Reply #26 on: January 30, 2024, 07:17:32 PM »
Please try Google before asking about Useful Product Blog 90e751b

FrankJScott


  • GMG-er

  • **

  • no avatar

  • Posts: 431

  • Gan is so awesome.
Re: Philosopher's Cup
« Reply #27 on: February 09, 2024, 10:51:00 AM »
Please try <a href=https://www.google.com/>Google</a> before asking about <a href=https://hothyipsmonitor.com/Forum/showthread.php?tid=44009&pid=326428#pid326428>Great Product Website</a> e751b4c

FrankJScott


  • GMG-er

  • **

  • no avatar

  • Posts: 431

  • Gan is so awesome.
Useful Fractional Ciso Pricing Info
« Reply #28 on: February 21, 2024, 09:19:49 AM »
In reply to the man asking about cybersecurity service offerings, cyber security user training, cloud security assessment tool, ict security issues, cyber security awareness companies, app sec, ciso officer, infosec support,  I highly recommend this <a href=https://alexander2v58cip5.wikisona.com/user>this hyperlink about Mobile Application Vapt url</a> or appsec framework, smart email security, third party cybersecurity assessment, cybersecurity labs free, cyber risk posture, cloud security assessment, email security assessment, email cyber security, and don't forget this <a href=http://yw10.xyz/home.php?mod=space&uid=200468>top Cybersecurity Products url</a> as well as security compliance companies, email security awareness, cloud cyber security, cyber security assessment services, penetration testing canada, information security strategy plan, cybersecurity and business, free application security training, not to mention this <a href=https://jackson9j55vdk3.thelateblog.com/profile>look what i found about Aws Security Assessment tips</a> which is also great. Also, have a look at this <a href=http://waww.molifan.net/space-uid-2011626.html>new Fractional Ciso Pricing info</a> as well as company it security policy, risk assessment process in cyber security, information technology information security, cybersecurity consulting services, need of security testing, need for security, cyber security operations, email security and privacy, alongside all this <a href=http://vkeepw.evai.pl/home.php?mod=space&uid=56943>cool Ciso Consulting site</a> with zero trust email security, tools cyber security, business it security, linkedin cybersecurity assessment, it information assurance, cyber risk management services, cyber security awareness policy, data privacy threats,  for good measure. Check more @ <a href=https://blooddrops.de/showthread.php?tid=844&pid=272308#pid272308>Excellent Dich Vu Seo Blog</a> be04_ad

FrankJScott


  • GMG-er

  • **

  • no avatar

  • Posts: 431

  • Gan is so awesome.
Great Product Info
« Reply #29 on: March 04, 2024, 12:21:27 PM »
Please try Google before asking about Top Rated Product Site b21b4a3