Giter VIP home page Giter VIP logo

whispersworld's Introduction

Whisper's World

Whisper's World is a simple, pick-up and play card matching game that is aimed at Children aged 5-10 years old. The game is built primarily in Javascript with minimal HTML and CSS styling to keep the focus on the game itself. The game has been tested throughout development to ensure functionality and appropriacy for it's intended audience. The game aims to provide an interactive tool to teach children how to use a mouse or a touch-screen in a fun and challenging way.

Responsive Mock-up

Features

The project includes a variety of features:

The Landing Page

Landing Page

Landing Image

The project features a simple landing page that explains the rules of the game to the user and allows them to click to start when they're ready to begin. Audio onclick features that play a cat meowing sound has been added to the start button as an extra interactive touch.

The Game Page

Game Page

On the game page itself, a timer has been implemented to create an element of challenge for the player. This has been set at 2 minutes intentionally after play-testing was completed by user's within the target demographic (Age 5-10) and this was felt to be most fair for all. There is also a score meter to inform the player how many matches they have made and a reset button underneath the game board to allow the user to restart the game at any point.

Score Board

Reset Button

In addition to this, looping audio has also been added to the game page, but the audio bar has been left in to allow the user to switch this off/on depending on their personal preference.

Audio Bar

The functionality of the game shuffles the cards on the grid each time the game is restarted, cards will be removed from the grid when paired with their matching counterpart and an alert message is in place to congratulate the player upon winning the game. This then invokes a function to restart the game.

Features Left to Implement

  • Difficulty levels - Easy, Medium and Hard - Each of these will adapt the amount of time the player is given to complete the game, thus adjusting the level of challenge.
  • Add alternative audio tracks that can be chosen by the user upon starting the game

Testing

A number of testing methods have been used throughout the creation of Thanet Gaming Club. The navigation elements, both internal and external have been checked to ensure they lead to the right page and that all external links open in a new tab.

The Lighthouse feature of Chrome Dev tools has been used to ensure a consistently high score in all 4 areas of testing:

*Performance

*Accessibility

*Best Practices

*SEO

Lighthouse

Site colours and features have been chosen to compliment one another and text color has been chosen to contrast against backgrounds to maximise UX and accessibility. The Site has been tested on a range of devices and on 3 different browsers to ensure a consistent performance.

-Chrome

-Firefox

-Edge

The relevant media queries have been implemented to ensure a smooth UX site-wide for all screen sizes. This has been tested using Chrome developer tools and finalised using - http://ami.responsivedesign.is/#

Alt images have been added in the script.js file using the setAttribute method to ensure accessibility was kept at 100, site-wide.

Bugs

A number of bugs were found during the construction of the project.

  • Fixed a bug in the script.js file that was causing an issue wherein the card array would not randomise correctly.

  • Fixed a bug with the audio files not loading correctly - this turned out to be an issue with file paths not being entered correctly.

  • Fixed a bug in the script.js that was causing issues with the game grid loading correctly.

Validator Testing

  • HTML

    • No errors were returned when passing through the official HTML W3C Validator

    W3C validator

  • CSS

    • No errors were found when passing through the official CSS Jigsaw Validator

    (Jigsaw) validator

  • Javascript - No errors were found when passing through JS Hint

JS Hint

Unfixed Bugs

None to report.

Deployment

This site has been deployed to GitHub pages - Deployment steps are as follows:

  • From the Github repository, navigate to the settings tab
  • From the source section drop-down menu, select the "Master" branch
  • Once this has been selected, the page will refresh with a ribbon display to indicate that the site has been deployed successfully.

The Live link can be found here - https://steviemigan.github.io/whispersworld/

Credits

Content

Media

freefavicon.com - Witches hat Favicon

http://jacobl14.files.wordpress.com/2011/05/shroom2large.png - Mushroom Image

http://u.cubeupload.com/Raytaygirl/piq371517400x400.png - Clover Image

https://tse3.mm.bing.net/th?id=OIP.OybhKxnTl00-dtOQyS2zkgAAAA&pid=Api - Dragon Egg Image

https://i.pinimg.com/originals/ed/21/47/ed21479782a8ba260925e42540ebcc45.png - Rose Image

http://pixelartmaker-data-78746291193.nyc3.digitaloceanspaces.com/image/ee2ae7fa5a7f735.png - Rainbow Star Image

https://tse4.mm.bing.net/th?id=OIP.qXdN1uXFifcOVYKDH3SeuQHaGr&pid=Api - Moon Image

https://lh3.googleusercontent.com/proxy/Zfp8xQ7Av9Ykzq0Ng3PVFne512SG_yr_VEkbyB5GWoxOXz_58fSqCtW35lfte6mEbxHdZz8vzGbwLYqmf4TSU5qNDEs=s0-d - Lightning Image

https://forums.terraria.org/index.php?attachments/lesser_healing_potion-png.175737/ - Magic Potion Image

http://pixelartmaker-data-78746291193.nyc3.digitaloceanspaces.com/image/7414f939ab6fc5e.png - Cat Image

https://pixabay.com/illustrations/halloween-cat-witch-hat-icon-5586567/ - Whisper the weather witch Image

Music by nojisuma from Pixabay

cat-meow.wav - www.zapsplat.com

whispersworld's People

Contributors

steviemigan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.