Computer Science Canada

My Game

Author:  Xion [ Mon Jun 16, 2008 10:47 am ]
Post subject:  My Game

I have it all working, but I just CAN'T seem to get the loops in order. Please try it out and give help Sad

- Oops, I attached it twice... lol..

Author:  DemonWasp [ Mon Jun 16, 2008 11:46 pm ]
Post subject:  RE:My Game

Your game seems (mostly) functional, aside from not actually checking whether anybody has won yet. What's the problem you're wanting help with?

Author:  Xion [ Tue Jun 17, 2008 12:01 pm ]
Post subject:  Re: My Game

You'll notice that when the player wins, it wont go back to the new game (clear all pics and go again)

Also, say player 1 goes 1, 5, and 9 the game will end, but if it takes player 1 more than three placements, it makes you fill out the whole board before the game ends.)

Thoughts?

Author:  DemonWasp [ Tue Jun 17, 2008 1:02 pm ]
Post subject:  RE:My Game

After each piece is placed, you need to check whether either player has won (use a procedure to check this). If somebody won, exit the "play" loop, show a "X wins!" message; you should still be in the "game" loop, which will loop back to the menu as soon as the "X wins" message is displayed.

You seem to have a good enough understanding to implement that, so I'll leave it at that. If you need help, just post again.


: