Results 1 to 2 of 2

Thread: keeping high scores

  1. #1
    matrixau
    Guest

    keeping high scores

    im making a tic tac toe game for a school project.
    How would i keep high scores

    when someone wins
    i want to check if it can go in high scores
    if it can put it in high scores
    if not coninue game


    how would i do this
    i only want the top 10 scores

    any ideas
    thanks

  2. #2
    Hyperactive Member
    Join Date
    May 2001
    Location
    England
    Posts
    312
    ok then, put this in the bit where at the END OF THE GAME it checks it...
    Code:
    if getsetting ("wherever", "whatever", "whenever") = < highscore.text then here you put the bit where the user inputs their name or whatever 
    else: msgbox "Sorry, your score wasnt high enough, would you like to try again?", vbinformation, vbokcancel, "again?" = ok then goto wherever 
    else: unload me
    or soemthing like that

    if it dont work tell me, i didnt try it, but i tihnk the registry is the way to go, if you dunno how to use it basically, i will show you :P

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width