Ambrosia Garden Archive
    • A good challenge: Connect 4 Lite


      A few threads back Andiyar challenged someone to make Connect 4 with ColdStone. I decided, heck, why not. I made up my algorithm and quickly found I'd get some code monkey practice (a lot of repetitive coding...). I shelved it. However, the next day I decided I'd give it a whirl, just for a good challenge... I was getting tired of the slow progress of my normal CS project and I need a break, and this was the perfect oppurtunity. I made a number for each cell (I used a 6X7 model like the link Andiyar posted) and had to make a check for each possible way to win (69 for red and 69 for black...). I have about 100 globals, and most of my events have over 50 actions. It's taken a week, but it's done. I'd like the CS community to Beta test it (make sure to check all 138 ways to win πŸ˜› ) before I release it for public download (as freeware). So, here's the link, have fun! (url="http://"http://www.world-of-cha0s.hostrocket.com/connect4lite.sit")http://www.world-of-...onnect4lite.sit(/url)

      ------------------
      CI-I@()s
      (url="http://"http://www.world-of-cha0s.hostrocket.com")The Homepage of Cha0s(/url)

    • I'm sorry to be the first to bear bad news. I downloaded Connect 4 Lite and double-clicked its icon. I got a box which said, "Sorry, can't load picture." Then the screen went totally black. It froze there and I had to resort to "force quit" at which point the computer itself froze with no resort left except to turn off the power without shutting down properly. I'm using Mac OS 9.2.2 on an iMac. (Yes I did select the icon without the (X).)

      ------------------
      My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
      The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
      (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/damsels.sit?path=pog/addons&file;=damselsV1.1.sit")Damsels in Distress(/url) - A plugin for PoG. (url="http://"http://www.evula.org/rduck/RD-DEL.jpg")RD-DEL(/url)

    • Very odd... Runs in X, but I get the same bug in 9... For now, all that have X use it. Meanwhile I'll bug-hunt.

      EDIT: Got it. OS X does memory for you. In 9 you supply how much each app should get. In the CS Misc pane I gave it 5 MB; it needed more (20-25). You could change the memory requirements yourself, but you may want to redownload as I made a few other minor bug fixes.

      EDIT #2: A few bugs in the top left corner of the grid. I'll fix them when I get home. For now just be aware.

      ------------------
      CI-I@()s
      (url="http://"http://www.world-of-cha0s.hostrocket.com")The Homepage of Cha0s(/url)

      (This message has been edited by CI-Ia0s (edited 11-20-2003).)

    • All updated. Everything should work perfectly now. Now everyone, download and play!

      P.S. The invisible EULA says that by playing you agree to test all 138 ways to win πŸ˜› (jk)

      ------------------
      CI-I@()s
      (url="http://"http://www.world-of-cha0s.hostrocket.com")The Homepage of Cha0s(/url)

    • .... Nice. πŸ™‚

      When I issued that challenge, I didn't seriously expect anyone to pull it off, at least not so quickly. Very nice, Chaos. Now, let me think, what was those prize-things again? Ah yes. Five points for the game itself, five additionals for using only forty events. I'll throw you five now, and, if you'll kindly make the source available so I can check on the event restrictions (email it to me, if you wish, and I'll just run a test compile) I'll gladly cough up another five points. πŸ™‚

      Now, I just need to go and hunt down five of your posts. Shouldn't be too long. πŸ™‚

      -Andiyar

      ------------------
      "Any good that I may do here, let me do now, for I may not pass this way again"

    • Sending now... Btw, just to let you know: Though there are only 35-38 events (in that range), each event has around 50 actions, so be warned if you try to sift through it... πŸ˜‰

      ------------------
      CI-I@()s
      (url="http://"http://www.world-of-cha0s.hostrocket.com")The Homepage of Cha0s(/url)

    • Nicely done, CI-Ia0s. Congratulations. No, I haven't checked out all 138 ways to win yet. I'll just take your word for it. Are you entering this in the game competition as well? I think you should.

      Btw, I just increased memory allotment as you suggested and it worked fine without another download.

      ------------------
      My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
      The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
      (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/damsels.sit?path=pog/addons&file;=damselsV1.1.sit")Damsels in Distress(/url) - A plugin for PoG. (url="http://"http://www.evula.org/rduck/RD-DEL.jpg")RD-DEL(/url)

    • (quote)Originally posted by CI-Ia0s:
      Sending now... Btw, just to let you know: Though there are only 35-38 events (in that range), each event has around 50 actions, so be warned if you try to sift through it...;) ) I looked at about half a dozen events, thought briefly and thought, 'Damn, that is really clever' in an attitude of 'Why didn't I think of that! Duh!' Very cleverly done indeed. When you actually boil it down, it's relatively simple..... simple being relative, of course. But to understand that it was simple, I had to read through quite a bit of the source. Maybe you should include it with the final game, when you release it, perhaps with a brief explanation. Might even be worth pursuing, jazzing up and seeing if uDevGame might be an interesting field for this kind of thing. πŸ˜‰

      I still stand by one thing I said ages ago, though. Chess would be harder. πŸ˜„

      Your additional five points will be forthcoming after I trawl down another five posts. How does it feel, Good Egg to Honoured Leader in seven hours? Probably about the fastest raise on the boards... but then, I did promise. Enjoy!

      -Andiyar

      ------------------
      "Any good that I may do here, let me do now, for I may not pass this way again"

    • It feels...weird. πŸ˜„ Chess would be impossible. You saw the number of events (well, actions in events) needed for Connect 4... It'd be 5 times as bad for chess. I'd have to hire a code monkey. Maybe Ambrosia could lend me one... πŸ˜„

      As for an AI version... I did consider it, but when I looked over CS it seemed too impossible. The computer would not be very flexible. I'd have to work it a bit... I have a thought on it... Perhaps, if I get bored with my currenct game (Forgotten Evil) again I'll give it a whirl. πŸ˜‰

      EDIT: I should have just said everything I wanted to say in the first place

      ------------------
      CI-I@()s
      (url="http://"http://www.world-of-cha0s.hostrocket.com")The Homepage of Cha0s(/url)

      (This message has been edited by CI-Ia0s (edited 11-21-2003).)

    • :: chesire cat grin ::

      Hey CI-Ia0s,

      How about entering this into the CGE Showcase? (url="http://"http://showcase.ellrx.com")http://showcase.ellrx.com(/url)

      Nothing to lose, no horrible/evil stipulations...just a friendly place to get traffic/exposure.
      ( note the total lack of materialization, glowing blue orbs and unseasonably cold weather πŸ˜‰ )

      Please read the:

      -(url="http://"http://showcase.ellrx.com/rules.html")rules(/url)
      ( I've yet to download as I will be in class until 5pm and on the road until 7pm but, I'm almost certain you'd be well within the rules πŸ˜‰ )

      -(url="http://"http://showcase.ellrx.com/about.html")about page(/url)
      Detailed explaination of the rules, format of the showcase.

      ...and if you'd like (url="http://"http://showcase.ellrx.com/enter.html")enter(/url) the CGE Showcase.

      ------------------

      ... bwahhaaaaahaaaaaugh fooooolish sammurai.

    • '(url="http://"http://showcase.ellrx.com/games.html#006")Connect 4 Lite(/url)', has been added to the (url="http://"http://showcase.ellrx.com")Showcase(/url). 6 entries, 65 days remaining.

      ------------------

      ... bwahhaaaaahaaaaaugh fooooolish sammurai.

    • This is really impressive, Cl-laOs. Now I have one more thing on my hard disk on which to waste valuable time. Er, thanks? πŸ™‚

      ------------------
      Insert profound thought
      or clever witticism here

    • Great job CI-Ia0s! I have given it several attempts and it seems to work fine. All I can ask for is a save function and mabe some sound. Congratulations on your new karma raise. TarnΔ‡lion, it's not the fastest raise on the boards. forge gained 666 karma in 3 days if I remember proporly.

      ------------------
      Thanks,
      GrahamVH
      graham@warcraftcentral.com
      Coldstone Developer (url="http://"http://www.warcraftcentral.net/legends/main.html")http://www.warcraftc...gends/main.html(/url)

    • Let me guess, it doesn't run in Panther? :redface:
      EDIT-Nope, it doesn't run in Panther. :mad:
      ------------------
      (url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum;=Progress+logs&number;=18")The Progress Logs forum(/url)/(url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum;=Pending+Chronicles&number;=17")Storage area for Pending Chronicles (/url)/(url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum;=Bomb|APO|s+Plug-in+Guide&number;=31")Bomb's plugin Guide(/url)
      Visit the (url="http://"http://www.ambrosiasw.com/webboard/Forum61/HTML/001202.html")Blue Mushroom Pub!(/url) Laugh so hard your stomach will hurt! Plus, it's filled with over 23 pages of useless information that nobody needs to know!
      How are you gentlemen!! (url="http://"http://www.allyourbasearebelongtous.com")All your base are belong to us!(/url) You will have no chance to survive make your time...Mwa ha ha ha...
      -ZeroWing CATS, (url="http://"http://www.allyourbase.com")www.allyourbase.com(/url)

      (This message has been edited by LifeKnight (edited 11-22-2003).)

    • Quote

      Originally posted by GrahamVH:
      All I can ask for is a save function and mabe some sound.

      I'll deal with sound in a bit. If you DL it now it has a save feature. πŸ˜„

      EDIT: Sound for when the pieces fall now too!

      ------------------
      CI-I@()s
      (url="http://"http://www.world-of-cha0s.hostrocket.com")The Homepage of Cha0s(/url)

      (This message has been edited by CI-Ia0s (edited 11-22-2003).)

    • Quote

      Originally posted by LifeKnight:
      Let me guess, it doesn't run in Panther?:redface:
      EDIT-Nope, it doesn't run in Panther. :mad:

      It works in Panther you just need to start Classic to do so. I can't seem to get the save feature to work. how do I use it? The sounds are nice though.

      ------------------
      Thanks,
      GrahamVH
      graham@warcraftcentral.com
      Coldstone Developer (url="http://"http://www.warcraftcentral.net/legends/main.html")http://www.warcraftc...gends/main.html(/url)

      (This message has been edited by GrahamVH (edited 11-22-2003).)

    • Read the instructions πŸ˜‰

      ------------------
      CI-I@()s
      (url="http://"http://www.world-of-cha0s.hostrocket.com")The Homepage of Cha0s(/url)

    • (quote)Originally posted by CI-Ia0s:
      **Read the instructions:redface: Ok, I'm an idiot.

      ------------------
      Thanks,
      GrahamVH
      graham@warcraftcentral.com
      Coldstone Developer (url="http://"http://www.warcraftcentral.net/legends/main.html")http://www.warcraftc...gends/main.html(/url)
      **

    • Sorry, but when I downloaded it and un-stuffed it, it said that the package contents may be damaged, and they are. Its asking me what application to open it in. Whats up?

      ------------------
      Whose cruel idea was it to put an 'S' in lisp?
      (url="http://"http://genesisp.netfirms.com")Genesis Productions(/url)

    • You may have DLed it in the middle of me updating it. Try now.

      EDIT: Andiyar, congrats on giving me a Karma raise πŸ˜‰

      FYI, I have now added a windowz build (and it's still only 1.2 MB!!!)

      On a side note, what does everyone think of the sound? Good, bad, ok?

      ------------------
      CI-I@()s
      (url="http://"http://www.world-of-cha0s.hostrocket.com")The Homepage of Cha0s(/url)

      (This message has been edited by CI-Ia0s (edited 11-22-2003).)