Skip to content

Danbob81/Pokemon_Match

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokemon Match

Gotta Match 'Em All!

This is a simple memory match game based on Pokemon. The user tests their memory skills by matching up pairs of the same hidden Pokemon characters by turning over cards on the board to reveal them. The game is complete when all pairs have been matched.

Play the game here.

site image

User Experience (UX)

  • User Stories

    • I would like to play a simple game to test my memory by matching up pairs of images
    • I expect feedback to confirm each matching pair made and the matched images remain on show
    • I expect to see my score
    • I expect confirmation that I have completed the game successfully
    • I would like the option to restart/replay the game
    • I expect to be able to play on different devices (laptop, mobile and tablet)
    • I expect to have fun! :)
  • Design

    • Colour scheme:

      • Colours used on the game to match the blue, yellow and red of the official Pokemon colour scheme
    • Typography:

  • Wireframes

    • Wireframes for desktop, tablet and mobile views created using Balsamiq.

      PDF links here:

Features

  • Implemented:

    • Game-play area which is the dominant section of the screen layout.
    • Rules area, slightly smaller, with simple game instructions.
    • Image section to the opposite side of the rules section balancing out the layout. NOTE: Only shows in desktop/laptop screen sizes.
    • Score shows under game board.
    • Replay button.
    • Pop-up on game completion showing 'congratulations' message and yes/no option to play again.
  • Future features:

    • Timer - to be displayed showing time taken to play.
    • Scoreboard - to keep track of previous/other peoples scores/times

Technologies used

  • Languages:

    • HTML 5
    • CSS 3
    • Javascript
  • Frameworks, libraries and programmes:

    • Google Fonts - font used ArchitectsDaughter
    • Bootstrap - used to create layout
    • JQuery - for additional JS functions
    • Git & Github - for version control
    • VS Code - IDE for writing HTML/CSS/Javascript/JQuery and file management
    • Balsamiq - for wireframes
    • WavePad Audio Editor - to edit audio files
    • Paint - to edit image files

Testing

I used the Chrome Developer Tool to simulate the different viewport sizes for desktop and laptop views, tablet views and mobile views. I used this throughout the development process as well as for testing the website once it was deployed to GitHub Pages.

The deployed website was also tested using Chrome, Edge and Firefox as well as on mobile (using Chrome for Android)

  • User stories' testing:

    • I would like to play a simple game to test my memory by matching up pairs of images
      • Memory match game uses Pokemon images to test the users memory - hidden images are arranged at random and change position each time the game is loaded
    • I expect feedback to confirm each matching pair made and the matched images remain on show
      • sound effects play at game load stage, with each card turn-over, with each non-successful and successful matching, and successful game completion. Matched image pairs remain on show
    • I expect to see my score
      • score is displayed below the game grid
    • I expect confirmation that I have completed the game successfully
      • on successful game completion, a sound is played and a pop-up modal appears with a congratulaions message
    • I would like the option to restart/replay the game
      • a button appears below the game grid giving the player the option to restart. This presents a pop-up with a yes/no confirmation option. There is also a replay button within the game completion pop-up modal
    • I expect to be able to play on different devices (laptop, mobile and tablet)
      • the game was tested, and works, on desktop/laptop, tablet and mobile
    • I expect to have fun! :)
      • I had fun! :)
  • Validator testing:

  • Additional testing:

    Black box testing was also carried out on the final deployed website.

    All tests passed. Results can be viewed here

  • Bugs

    • Game grid layout displayed differently at certain mobile screen sizes (iPhone 5/SE in particular). To overcome this issue I adjusted the width percentage for the grid images.
    • Restart game button was being pushed below the bottom line of the game section at larger screen sizes (above 1400px). To correct this I adjusted the bottom margin of the game grid.

Deployment

Github Pages

  • Site deployed to Github Pages using the following process:
    • Click the 'Settings' tab in the GitHub repository
    • Select 'Pages' in the left hand menu
    • Under the heading of 'Source', select 'Master Branch' from the drop-down menu
    • Click 'Save'

Credits

Content:

Media:

Acknowledgements:

  • Code Institute for the lessons and support
  • My mentor Rohit Sharma for the helpful suggestions and guidance he has given during this project
  • Patrick Justus for the additional lessons and insights into web development

About

Memory match game with Pokemon... Gotta match 'em all!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published