Computer Science Canada Help with Final touches |
Author: | BigBear [ Mon Mar 10, 2008 11:45 am ] |
Post subject: | Help with Final touches |
I have almost finished my Word Jumble Game. I added the ability to use the mouse for almost everything however when i did so the 2 player game seems to be having some problems. First of all when it asks for a word (which it displays in stars) it seems like a key is being held down or starsch isn't being reset to "" but it is. This problem happend when i quickly change some parts and forgot to add whatever ch i am getching := "". Any ideas I will post the whole thing just in case more things are wrong with it. Also there is a text file called future wich contains the future of the game. Thanks |
Author: | agnivohneb [ Tue Mar 11, 2008 12:58 am ] |
Post subject: | RE:Help with Final touches |
your value for index ("qwertyuiopasdfghjklzxcvbnmQWERTYUIOPPASDFGHJKLZXCVBNM", starsch) always = 1 and will not change. thus will never become less then zero. see about changing it. BTW I like the program and the music. I do not like the constant high pitch while playing. the only way to stop it is to go to the options then go back. I also do not like the very long code used, 1663 lines is to much. But I guess its all up to you and the way you program. |
Author: | BigBear [ Tue Mar 11, 2008 7:18 am ] |
Post subject: | Re: Help with Final touches |
Well I am glad you had a chance to look at my program. I do not know what high pitch sound you are talking about. And created an integer = to index ("qwertyuiopasdfghjklzxcvbnmQWERTYUIOPPASDFGHJKLZXCVBNM", starsch) and tried to reset it to -1 every loop. but unless I put it right before if statement no luck. Also I did the other input th same way. I know my code is long every time I press F2 so should I create multiple files and include them? |