Skip to content

Visualises statistics to determine which gender has better memory (recall) and includes a memory game.

License

Notifications You must be signed in to change notification settings

Rehannah/Memory-vs-Gender-Analysis-Game

Repository files navigation

Memory vs Gender Analysis Game

Visualises statistics to determine which gender has better memory (recall) and includes a memory game. Built with C++.

Please feel free to 🌟star, fork or contribute to an issue in this repository.

Table of Contents:

✲ About
✲ Case Study/Problem
✲ Files Explained
✲ Features Explained
✲ TODO - things to implement later, bugs & issues

About:

Name:            Rehannah Baptiste
Title:           Memory vs Gender Analysis Game
Description:     This program visualises statistics on which gender has better memory (recall) 
                 and allows users to play a memory game which adds to the data. 	
Version 1.0:     December 5th 2020
Current version: 1.5 (2022)
License:         Open Source MIT

Case study/Problem:

  • Do females have better memory than males?

Files in this project:

  • “highscores.txt” is the input data file listing the name, gender, number of words remembered and number of attempts by x number of users/players, terminated by "-1".
  • “words.txt” is a word list containing the words for the memory game, terminated by "END".
  • “newhighscores.txt” is the output data file containing all high scores for all players, which includes any new data and is terminated by "-1".

Features of the program:

  • Main Menu to aid in navigation in the program.
  • Statistics:
    1. Find the sum of words recalled by males and females. (Menu option 1)
    2. Find the average number of words recalled by males and females. (Menu option 1)
    3. Find the total number of attempts and the percentage of attempts made by males and females. (Menu option 2)
    4. Find the top player, i.e., the person with the highest score in the least number of attempts. (Menu option 3)
    5. Find the highest male and female score. (Menu option 4)
    6. Find the number of players who recalled x words or more. (Menu option 6)
  • Rename a player. (Menu option 5)
  • Generate a graph visualising all player data. (Menu option 7)
  • View all saved high scores. (Menu option 9)
  • Surprise feature: Play a memory game. (Menu option 8)
    The memory game tests the player's ability to recall words. Their score is saved as a new value in the data file.

    How to play:
    1. When you start the game, words will flash on-screen one by one.
    2. After all the words have been displayed, enter as many of those words as you can remember in any order.
    3. Your score will be equal to the number of words you correctly recalled.

TODO

See more info on contribution guidelines in the CONTRIBUTING.md file.

To be implemented:

  • more efficient data structures for storing the data.
  • allow for a bigger word bank, so that the word list can be randomised.
  • include a larger data set of player data.
  • update README.md

Issues & Bugs:

  • Menu option 5 does not work.
  • Menu option 8 does not work.
  • Menu option 9 does not work.

Back to top ⬆

About

Visualises statistics to determine which gender has better memory (recall) and includes a memory game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages