Hey there! Sign in to join this conversationNew here? Join for free
    • Thread Starter
    Offline

    1
    ReputationRep:
    https://repl.it/CZhO/10Grab your good friends B and C, and have some memory testing fun!(In reality, the game is boring af. Also won't be surprised if there are any bugs)
    Offline

    2
    ReputationRep:
    Loooool I can't believe you actually bothered. It works tho but who would play such a boring game 😂😂😂
    Offline

    1
    ReputationRep:
    Definitely a good job, and decent code too!

    However I found a few issues with the program (I know it doesn't really matter, but whatever)

    First off, the numbers array includes 0, meaning there are 101 numbers to choose from rather than 100.

    After completing the game, I was greeted with this message:
    Code:
    In first place, was B with 34 correct answers.
    In second place, was A with 34 correct answers.
    In third place, was C with 33 correct answers.
    It's interesting that B was placed first even though both A and B had the same score. It would make sense to add an extra block of code to determine if any scores were the same, removing this issue.

    But overall, very nice job!
    • Thread Starter
    Offline

    1
    ReputationRep:
    Firstly, iirc in the exam the options were from 0-100 😉.
    As for anyting else... I simply made this out of boredom, and have no clue why it does that... How interesting 🤔
 
 
 
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • Poll
    Are unpaid trial work shifts fair?
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

    Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

    Quick reply
    Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.