Community

General and Everything Else => Community Competitions => Topic started by: Cloudee1 on March 12, 2007, 12:31:01 PM

Title: March Community Competition (2007)
Post by: Cloudee1 on March 12, 2007, 12:31:01 PM
Ah Spring Break, when those people with friends take off to go and do fabulous things with them. While those of us with no friends sit at home waiting for everyone to get back. This months competition is a little bit different than the others, this time I want someone to play with.

Welcome to the artificial intelligence scripting challenge. This month your requirements are for a two player game. And the second player needs to be the computer. I'm looking for tic tac toe, connect four, chess, or any kind of two player game, or board game. The user takes a turn, the computer takes a turn ... until the game has a winner.

The deadline is the end of the month, March 31st. This ones a little different, but should prove a good learning experience so put on your thinking caps and see if you can get sci to play back.

Title: Re: March Community Competition (2007)
Post by: Doan Sephim on March 12, 2007, 03:11:22 PM
 :o Count me in!

This is exactly the kind of thing I need to get my little brain working on interesting and fun mini-games! Plus it will really push me to learn to code better!

Excellent idea  :D
Title: Re: March Community Competition (2007)
Post by: troflip on March 12, 2007, 03:14:00 PM
Can it be an adventure game with AI?  Or does it have to be a board game?
Title: Re: March Community Competition (2007)
Post by: Cloudee1 on March 12, 2007, 03:25:44 PM
It doesn't have to be a board game per se...

The real rule of this competition is "The user takes a turn, the computer takes a turn ... until the game has a winner."

The boxing interface from fabulous I think would also fall into this category as well. so it doesn't have to be a clearly defined your turn, it's turn. If that helps clear it up in any way. 
Title: Re: March Community Competition (2007)
Post by: Eigen on March 15, 2007, 02:07:59 PM
I'm taking part too. I've got a good amount of the game done. It turned out to be more difficult than I expected but it's working. So, good luck everyone.



-Eigen
Title: Re: March Community Competition (2007)
Post by: jtyler125 on March 15, 2007, 09:04:32 PM
Ok Cloudee,

Because I am the winningest member of this community I want to compete, but since I am still a newbie, will you be able to offer help on how to add AI to my game....I have a good idea of what I want to do...just don't know how to do it.......

Let me know,
JT
Title: Re: March Community Competition (2007)
Post by: Doan Sephim on March 25, 2007, 03:22:43 PM
How are everyone's games coming along? TO be honest, I just started mine today...I have been working too much on BA and I couldn't figure out an idea, but I got one now.

Eigen, are you finished? Jt? Troflip?
Title: Re: March Community Competition (2007)
Post by: Eigen on March 26, 2007, 03:49:29 AM
I've got the gameplay almost finished, then I have to do some artwork and other stuff but I think I can get it done on time. I lost a lot of time struggling with some bug in a code I couldn't figure out (and I still can't) so I had to rework some parts. I have to say that SCI isn't the perfect choice for such task. Hope to see some nice games.


-Eigen
Title: Re: March Community Competition (2007)
Post by: Doan Sephim on March 26, 2007, 04:49:06 PM
Cool! Mine is almost finished also...just a couple artwork things.

I find it hard to believe there was a bug you couldn't squash! It makes me wonder what kind of game you are making! Mine also is different than what I am used to doing with SCI...it's more an arcade-style game than anything.
Title: Re: March Community Competition (2007)
Post by: Eigen on March 27, 2007, 02:41:24 AM
There's something weird going on at the moment as well, I hope I can solve it today. The game just quits, no messages or anything. I'm thinking because I'm using arrays, at some point, the game accesses array elements out of the array limits. Perhaps. The previous bug was about arrays as well. Some certain Display commands filled arrays with random numbers .. how crazy is that..
No, the game's not anything special :D
Title: Re: March Community Competition (2007)
Post by: Doan Sephim on March 27, 2007, 10:20:03 AM
Wierd! Why would the display function give value to an array??? I've never actually worked with arrays (outside of what was already in the template), and my work with display hasn't been anything extraordinary either, so I definately have no idea what's going on.

Well, after a couple days of keyboard mashing, I completed my entry and uploaded it...I don't see it there yet, but I did run across an Game INTRO for "HUMANOID" by feyd hark that looks pretty cool! Plus the soundtrack is cool!

Hopefully my entry will pop up soon ;)

EDIT - If your array is is being accessed outside of its limits, will it crash the game with no message? You could purposefully set that up to see if you get a message or not...if it gives you a message, you will know that something else is involved, otherwise you will have confirmed your suspicions (most likely).
Title: Re: March Community Competition (2007)
Post by: jtyler125 on March 29, 2007, 08:42:10 PM
I suck I didn't have time to make a game this month...the AI is way over my head but I look forward to seeing the other entries.

JT,
OUT
Title: Re: March Community Competition (2007)
Post by: Doan Sephim on March 29, 2007, 08:54:47 PM
Sorry to hear about that JT. I was looking forward to some smart SCI-MAN ghosts ;)

Cool, my game is up  ;D
Title: Re: March Community Competition (2007)
Post by: Eigen on March 31, 2007, 02:00:45 PM
Hopefully I just managed to fix the last bug that was haunting me for days. Geez, you'd expect I worked on a FPS .. :D but instead it's an simple Battleship type game: Ocean Battle. The game is not exactly as I planned at first but it's close.
I just uploded it to the site so it should be available soon.
Also, don't make me do this again :D .. the parts not working were driving me crazy.


-Eigen
Title: Re: March Community Competition (2007)
Post by: Doan Sephim on March 31, 2007, 04:17:17 PM
Cool stuff Eigen! What parts weren't working?

Your curser shoots at about the middle point right? If so, and it seems like it does, maybe you should remove the little arrow point at the top left-hand part though.

Title: Re: March Community Competition (2007)
Post by: Eigen on March 31, 2007, 04:48:09 PM
Doan, I also tried out your game but I'm yet to figure out how to play it but seems nice. Maybe I'm doing something wrong but I can get the flag and then usually the game says the opponent got the best of me. Create a tutorial level for dummies like me ;)

Well for me the whole part deciding which tile to attack next wasn't working. It entered a infinite loop and I couldn't understand why. So I rewrote most of the code but still the same effect. Then I did something more I can't even remember and it started to work somewhat how I wanted it to. Of course, then I kept running out of heap space with all those small views on the screen. So I removed half of the template scripts I didn't need, like inventory, door etc. I'll also make an updated version of the game soon to improve the game visually. I had no time for that yet.

The arrow in the corner was to navigate the menubar as there's no way to use the other hotspot.
Title: Re: March Community Competition (2007)
Post by: Doan Sephim on March 31, 2007, 04:59:19 PM
Doan, I also tried out your game but I'm yet to figure out how to play it but seems nice. Maybe I'm doing something wrong but I can get the flag and then usually the game says the opponent got the best of me. Create a tutorial level for dummies like me ;)

Hmm...The only way that would happen is if your life bar was depleted (the top blue bar).

The arrow in the corner was to navigate the menubar as there's no way to use the other hotspot.

Oh...ok...I getcha now! That makes plenty of sense. Also, I know how to turn the ship vertical now (after reading the menubar section), but perhaps you could put that info right on the screen because at first I had no idea how to do that...
I like it...I ALMOST beat it on medium, but I couldn't search out one of those darned small ships! I think you did a fine job on the layout and art side of it!
Title: Re: March Community Competition (2007)
Post by: Eigen on March 31, 2007, 05:02:20 PM
Actually I planned to do a main menu like yours where you could read the help before game but I'll put that into the next version. Glad you like it though.

I'll play your game some more and I WILL beat it! :D
Title: Re: March Community Competition (2007)
Post by: Cloudee1 on April 02, 2007, 03:11:58 PM
I haven't seen where anyone has asked for any extensions, but there are only two entries  :P

I should be able to get online for a little bit this friday so to anyone who is thinking about making something, you'll have until the end of the week. So get to work.

Also, I intend to make Eigen, Troflip and Doan global moderators in case some spam or something wierd pops somewhere. So if you guys don't want that responsibility let me know and I won't but otherwise welcome to the staff of scicommunity soon.
Title: Re: March Community Competition (2007)
Post by: Cloudee1 on April 09, 2007, 04:00:43 PM
Ok, so it has officially come to a close. Unfortunately we only had two entrants, but they were both excellent.

Doan is hereby given 2nd place. I opened it up read the instructions and started at it. I failed to beat the computer right off.  :P

Eigen therefore captures 1st place with his Battle ship remake, Ocean Battle. I was able to beat the computer in this one  ;D

Obviously you haven't gotten your trophies yet, but they are coming soon. I promise.

... and so ends the March competitions, Eigen's turn.
Title: Re: March Community Competition (2007)
Post by: Doan Sephim on April 10, 2007, 12:25:41 AM
Whoa whoa whoa! I don't consider it "officially" over until I get my trophy  ;)  :P

Congrats Eigen! Can't wait to hear the rules for the next compition!

oh yeah, do you plan on uploading a version with the source code Eigen??
Title: Re: March Community Competition (2007)
Post by: Eigen on April 10, 2007, 03:39:18 AM
Woo! Thanks .. got to think of new rules, quick.
I didn't include the source because it's really such a mess and I think it wouldn't benefit to anyone, only show that I'm a messy coder :D


-Eigen
Title: Re: March Community Competition (2007)
Post by: Cloudee1 on April 17, 2007, 04:13:06 PM
The trophies are in the works, I know it's bad form especially since I only need to make two of them. I have something made, but I'm not happy with how they look yet. I promise the next time I'm online I will be sure to bring the trophies with me no matter what they look like.  ;)
Title: Re: March Community Competition (2007)
Post by: jtyler125 on May 24, 2007, 06:30:15 PM
When is the next competition Eigen???
Title: Re: March Community Competition (2007)
Post by: Doan Sephim on May 24, 2007, 06:49:20 PM
Yeah...the last one didn't seem to get anyone's attention...maybe it was a busy time of the year?