KeyBeats is a music memory game easy to navigate and play. The user listens to a sound sequence and then is challenged to recreate it pressing the keys in his keyboard, each one reproducing six different sounds. Success in making the sequence will bring the game to the next level: each level up will increment the sequence with one more sound!
The project has been developed to compete in the Code Instutute Hackaton Hero Challenge.
KeyBeats - Click here to play!
No installation required, just click and play!
- As a user, I want to have an intuitive navigation in the game.
- As a user, I want to listen a sequence of sounds.
- As a user, I want to reproduce the sequence and with a response from the game that reinforces what sound I am generating.
- As a user, I want to know if I succeded or not in the sequence.
- As a user, I want to know my score and what level I am in.
- As a user, I want to read the game instructions and have a playground to practice my skills.
The home page is clean and simple: its sole scope is to invite the user to read the instructions and/or play the game.
This page explains the rules of the game and gives to the user the possibility to test the different sounds.
- This game is oriented to users who can play with their keyboard.
- The user press enter to play the sequence of sounds.
- The user listen to the musical sequence.
- The user press the keys in its keyboard to play six different sounds and match the sequence.
- The user progresses in the game by playing all the sounds of the musical sequence correctly.
The game page contains a game area with three main sections:
- The upper part shows the level the user is playing in and the score he has gained.
- The middle part contains the player, where the user can start the sound sequence. A progress bar keeps track of its duration.
- The lower part shows the different key buttons associated with six different sounds.
The colour palette is studied to highlight the keyboard buttons, whose colors are inspired by the Launchpad X. These colors are metallic and allow the keyboard to pop from the background.
- Main font: 'Special Elite' - for the body and headings.
- Paired with: 'Yesteryear' - chosen to add a small style change for the footer.
The site consists of three pages, whose objective is to present the game to the user and make the playing session smooth, intuitive and enjoyable. The game is meant to be played with a keyboard and has several visual effect (shake and color of the keys, progress bar) for a better user experience and engagement.
- Add a leaderboard:
- Save score of every user and present it in a table.
- Play with 3 lives:
- Three chances to get the sequence correct, before the user loses the games and comes back to level 1.
- Introduce timing of key press for a much more engaging experience:
- Length of keypress to determine whether user is sticking to the tempo and rhythm.
At the moment no bug has been noticed.
All the code has been tested in validators sites as follows:
Manual testing had been implemented: the game is running as expected.
-
Palette
She Codes -
Media audios
Freesound -
Research
Stack Overflow
GeeksforGeeks