Results 1 to 8 of 8

Thread: GUI: simple memory game(URGENT)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2013
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default GUI: simple memory game(URGENT)

    Can someone please help me answer this past exam question which uses C++ with Qt creator4 to help me prepare and feel confident before I write my exam.

    Question:

    write a GUI application that provides a simple memory game, where the application generates and displays 10 random but unique numbers between 1 and 50 for 10 seconds. the user has to memorise and enter these numbers on the GUI, which the application verifies before displaying a score to the user.
    The application should satisfy the following:
    -A start button is provided on the GUI in order for the application to display the random numbers.
    -use a QTimer to manage the time for which the numbers should be displayed.
    -Provide a widget where the user can enter the numbers that were randomly generated and displayed. An error message is displayed if the user enters values that are non numeric . Alternatively you may program the input widget to ensure that it does not accept non numeric values.
    -You may provide another button for the user to indicate when he\she has completed entering the numbers.
    -the randomly generated numbers are only displayed for 10 seconds. once this time lapses, the numbers are no longer visible to the user.
    -the widget in which the user can enter the numbers should be read only when the numbers are displayed, i.e the user is not allowed to type numbers while being displayed on the GUI.
    -Provide a score to the user.


    Someone please help me urgently since I am writing my exam on the 7th of September and I came across this question in a past exam and don't know how to do it. Thanks alot

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: GUI: simple memory game(URGENT)

    Which part are you having problems with?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. bluetooth for a simple 2 player game???
    By mahsa in forum Newbie
    Replies: 0
    Last Post: 4th August 2012, 10:23
  2. a simple game, much trouble
    By kennethadammiller in forum Newbie
    Replies: 1
    Last Post: 9th July 2010, 04:07
  3. Memory usage of simple Qt app
    By DiamonDogX in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2009, 06:53
  4. [URGENT] Weird compile error [URGENT]
    By MarkoSan in forum Qt Programming
    Replies: 3
    Last Post: 24th May 2008, 23:54
  5. Qt3 Memory game
    By rjk in forum Qt Programming
    Replies: 3
    Last Post: 6th December 2007, 21:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.