MFC Implementation of the WordGame Typing Game

GitHub download link: https://github.com/hujiulin/TypingGame

  1. Double-click image001 to run the program. The main interface will appear:

    1441164104550196

  2. Click the “User” menu to perform Login and Register operations. If you have not registered, you can register first and then log in. Here we use UserName as an example.

    Click Login to open the login window:

    image005

    Click Register to open the registration window (or click the Register button directly):

    image007

    Enter Username: UserName; Nickname: UserName; Password: UserName; as shown below:

    image009

    Click OK to complete registration.

    Log in with the UserName account, and you will see the following information in the upper-right corner of the main interface:

    image011

  3. Configure game settings: image013. In the game options, you can set “Game Difficulty”, “Image Category”, and “Background Music”.

    • Game Difficulty:

      Click the Game Difficulty button to open the following dialog:

      image015

      You can use the dropdown lists to configure “Vocabulary Size”, “Spelling Difficulty”, “Word Frequency”, and “Movement Speed”. Vocabulary size options are 50, 100, and 150. Spelling difficulty currently uses random CET-4 words. Word frequency can be single or double. Movement speed can be fast, medium, or slow. Click Set to apply.

    • Image Category:

      Click the Image Category button to open the following dialog:

      image017

      Currently available images include balloons and fish. Select a radio button to choose.

    • Background Music:

      Click the Background Music button to open the following dialog:

      image019

      Select the desired music in the group box and click “Select Music”.

      The configured game options will be displayed at: image021.

  4. Click image023 to open the following window:

    image025

    This shows the top five highest-scoring users in the system.

  5. image027, the Help menu has two sections: Game Rules and About.

    • Game Rules:

      image029

    • About:

      image031

  6. image033 This area shows the current game state: Started or Stopped.

  7. image035 Click these two buttons to start or exit the game.

  8. Below is a screenshot taken during gameplay:

    1441164377433708