
-----------------------------------
nogardreyals
Wed Jan 16, 2008 9:58 pm

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.

-----------------------------------
Zampano
Wed Jan 16, 2008 10:06 pm

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
Thu Jan 17, 2008 12:47 pm

Re: Turing Submission~OMOK
-----------------------------------
There is a waaaay more effective way of checking for a win. Look [url=http://compsci.ca/v3/viewtopic.php?t=15810&highlight=win+method]here :)

-----------------------------------
nogardreyals
Thu Jan 17, 2008 3:53 pm

Re: Turing Submission~OMOK
-----------------------------------
If I use your way than I would be getting help from a Turing Expert  :D 
And that would be plagerizing resulting in a zero and i wouldn't want that.  :P 
And I'd rather use my own way that I thought of after days of thinking. 
Thx anyways  :wink: 

Can anyone else give some feedback?

-----------------------------------
fishtastic
Thu Jan 17, 2008 10:39 pm

Re: Turing Submission~OMOK
-----------------------------------
OMOK = connect five !!
very game. code looks clean too.  8-)

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
Thu Jan 17, 2008 10:46 pm

Re: Turing Submission~OMOK
-----------------------------------
There is a waaaay more effective way of checking for a win. Look 

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
Fri Jan 18, 2008 8:48 am

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
Fri Jan 18, 2008 1:57 pm

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.
