Posted: Wed Jan 16, 2008 9:58 pm Post subject: Turing Submission~OMOK
This is a Turing Submission made by me for my CompSci ISU for grade 10. Of course I didn't not include comments or a flowchart as expected but I would just like to see the reactions. Well can you tell me if it is good or not?. If you find any glitches or room for improvement please tell me.
Posted: Wed Jan 16, 2008 10:06 pm Post subject: Re: Turing Submission~OMOK
I love the self promoting credit screen. *smile smiley*
Pretty good, though I'd really like to know why you needed this game to be 'funded'. *wink smiley*
Carey
Posted: Thu Jan 17, 2008 12:47 pm Post subject: Re: Turing Submission~OMOK
There is a waaaay more effective way of checking for a win. Look here
nogardreyals
Posted: Thu Jan 17, 2008 3:53 pm Post subject: Re: Turing Submission~OMOK
If I use your way than I would be getting help from a Turing Expert
And that would be plagerizing resulting in a zero and i wouldn't want that.
And I'd rather use my own way that I thought of after days of thinking.
Thx anyways
Can anyone else give some feedback?
fishtastic
Posted: Thu Jan 17, 2008 10:39 pm Post subject: Re: Turing Submission~OMOK
OMOK = connect five !!
very game. code looks clean too.
for the line checking part.
there are many ways, and since you only have a small board you dont really need efficiency.
I will just write it as short as I can, as long as it works.
BTW, Can you make an AI? I know its hard
but I dont wanna play again myself.
Zampano
Posted: Thu Jan 17, 2008 10:46 pm Post subject: Re: Turing Submission~OMOK
Carey @ Thu Jan 17, 2008 12:47 pm wrote:
There is a waaaay more effective way of checking for a win. Look here :)
Hehe; I'm not sure, Carey. In my Connect Four Game, I was able to make collison detection is a grand total of 14 lines. It was a recursive function.
Carey
Posted: Fri Jan 18, 2008 8:48 am Post subject: RE:Turing Submission~OMOK
@ nogardreyals: I wasn't saying to copy the code, just use it to make your own method
@ Zampano: Yes I realize that recursion could shorten the length and make it more efficient, but I didn't even know what recursion was when I made this.
Sean
Posted: Fri Jan 18, 2008 1:57 pm Post subject: Re: Turing Submission~OMOK
With the get selection, you have it located under the selection word, how about adjusting it to 22, 40 to get it right after the colon.