Computer Science Canada Cezna's Connect 4 |
| Author: | Cezna [ Thu Jun 17, 2010 2:12 pm ] | ||
| Post subject: | Cezna's Connect 4 | ||
A few people expressed interest in seeing this, so here it is. If anyone wants to improve it or help me put AI into it, please post back.
|
|||
| Author: | copthesaint [ Thu Jun 17, 2010 2:53 pm ] |
| Post subject: | Re: Cezna's Connect 4 |
Your game still needs some work ![]() |
|
| Author: | Cezna [ Thu Jun 17, 2010 3:01 pm ] |
| Post subject: | RE:Cezna\'s Connect 4 |
How did you do that? If I don't know what order you put the pieces in, or what exactly happened, I can't fix it (or confirm that there is in fact a problem). |
|
| Author: | copthesaint [ Thu Jun 17, 2010 3:35 pm ] |
| Post subject: | RE:Cezna\'s Connect 4 |
just play the game, lol you get the error everytime. |
|
| Author: | InfectedWar [ Thu Jun 17, 2010 4:21 pm ] |
| Post subject: | RE:Cezna\'s Connect 4 |
Yeah Cezna copthesaint is right =d, this glitch only seems to happen on the restart of the game. The new game still thinks my pieces from the last game are still there (But they don't draw on screen). So probably you are not resetting all of your variables at the restart. |
|
| Author: | Cezna [ Thu Jun 17, 2010 4:22 pm ] |
| Post subject: | RE:Cezna\'s Connect 4 |
Ohhhhhh, now I know what the problem is. There are integer values representing the height of the columns. Thank you InfectedWar and copthesaint. + 2 bits each EDIT: fixed the problem, here is an updated version of the game |
|
| Author: | InfectedWar [ Thu Jun 17, 2010 4:30 pm ] |
| Post subject: | Re: Cezna's Connect 4 |
I'm just noticing that diagonals don't work. Is this feature un-complete or did I just find a bug? Edit* I tested diagonals again a diff way and they worked??? Edit** Good looking program asides for these small kinks that can be fixed easily i bet =d |
|
| Author: | Monduman11 [ Thu Jun 17, 2010 4:37 pm ] |
| Post subject: | RE:Cezna\'s Connect 4 |
hey nice game, kinda lags on my pc though and it has a few bugs but overal its good.. btw i upgraded my game if you want to check it out... its at the globox adventures thread |
|
| Author: | Cezna [ Thu Jun 17, 2010 4:48 pm ] |
| Post subject: | RE:Cezna\'s Connect 4 |
@ Monduman11 I will check you game out as soon as I get enough time to go through the code (hopefully soon! |
|
| Author: | Monduman11 [ Thu Jun 17, 2010 4:51 pm ] |
| Post subject: | Re: RE:Cezna\'s Connect 4 |
Cezna @ Thu Jun 17, 2010 4:48 pm wrote: @ Monduman11
I will check you game out as soon as I get enough time to go through the code (hopefully soon! kk lol |
|
| Author: | Cezna [ Thu Jun 17, 2010 4:57 pm ] |
| Post subject: | Re: Cezna's Connect 4 |
Here is another updated version (apparently I suck at testing, because I found no bugs, lol). Please keep up the bug checking (pictures are much appreciated), as it is a big help! |
|
| Author: | InfectedWar [ Thu Jun 17, 2010 5:22 pm ] |
| Post subject: | Re: Cezna's Connect 4 |
A fix if it's a stalemate lol =d I knew this was going to happen it was just hard not to accidentally win while trying to get this condition to happen (hehe) =d |
|
| Author: | Cezna [ Thu Jun 17, 2010 5:26 pm ] |
| Post subject: | RE:Cezna\'s Connect 4 |
Lol, ok thank you InfectedWar, I will fix this problem, but since this one not a glitch just an embarassing lack of foresight, I will wait and see if any more bugs are found, and then include the update for stalemate with the update for the bug, too keep from posting too many downloads. |
|
| Author: | Cezna [ Tue Jun 22, 2010 2:40 pm ] |
| Post subject: | Re: Cezna's Connect 4 |
Since no one else has posted any bugs, this is hopefully the final version of my connect 4, now with the possibility of a tie, and a few other fixes. |
|