Hey guys, I'm finished school and I set myself a personal project to make a game in Delphi 6.
Some of my friends who are still in school [yr12] in ipt are doing an assignment where they have to make a game and I thought I'd test out myself and see if I could remember how to do it haha!
I must use an array and record during this project.
My goal is to create a code cracking game in which a random code is generated and the user must guess it [having only 10, 15, 20 attempts depending on difficulty].
I have succesfully made a username option which gets saved to a text file. But i need some serious help programming wise...
The form looks like this - http://img340.imageshack.us/img340/7417/yupyf5.jpg
So my problems I need help with are:
-using the array and record somewhere in it
-Creating a random code for the user to guess[using randomize I'd assume]
-When the user guesses incorrectly, the "cross" is shown, if it is correct a "tick" is shown and the number displayed in the box [using the visibility options I also assume]
-a list of sequences they've already tried is added somewhere [so when they click the crack it button it adds their current input into a memobox or something which will be displayed somewhere on the form]
-And for brownie points it'd be great to be able to have another form which showed how many guesses it took the person, their time it took them, and a comparison between them and other people who have used the program would also be a handy add on I think.
Any help for this forgetful delphi man would be much appreciated.
Thank you.