Skip to content

A simple visual quiz displaying four symbols, one of which is out of place.

Notifications You must be signed in to change notification settings

brianach/Odd-One-Out

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odd One Out

Mockup Screen Image

Odd One Out link to published game

 


Table of Contents


 

 


Introduction


 

This is a neat little game based on old fasioned quiz book type puzzles. The gameplay is intuitive and uncomplicated. The player simply chooses the odd image from a selection of four and clicks on it. The score increments by 1 on each successful click. The player must get all the correct answers in order to progress to the next level of whcih there are 10 in total. THe player is rewarded with a party popper sound on achieving the next round and with a cheeky sounding foghorn on failing. On getting to the end of the game there is a cartoon fanfare.

Goals

    • Personal Goals

      Create a game that challenges and entertains the player. I added a progress bar to add an element of excitement to the gameplay.

    • Player Goals

      Test logic and hand eye coordination skills in a fun way. Try to get quicker by selecting progressively harder levels.

 


Design and Planning


 

I drew a rough sketch on paper first with some notes to explain how the game works. It was my intention to design all the icons by hand but I decided to utilize font awesome icons instead as they were simple and clear, suited the game itself, and saved an enormous amout of time which would have benn spent designing an creating the icons from scratch. Having said that, a future enhancement would utilize hand made icons and also various quizzes testing user knowledge on everything from art to sport using the same odd one out format. So one example might be to choose which is the odd one from a choice of modern, surrealist, abstract-expressionst and renaissance paintings. Or three Warhol's and onother similiar artwork etc.

  • Color

    I chose a basic black and white scheme to fit in with the quiz book idea.

  • Fonts

    I chose a Boogaloo Google Font for its playful and jokey style.

  • Structure

    The initial weclome screen is simple but intuitive which invites the play to create a username once entered allows the player to select a difficulty level leading on to the game play area itself.

    I stayed with a basic linear game play area which is simple an intuitive requiring no additional help or information for the player. progress bar is right below the play area but close enough to theplayers field of vision to give an added sense of excitement to the play.

 

  • Features

    • Player username input
    • Level Selection
    • Progress bar
    • Player feedback
    • Score display
    • Win and lose audio samples

 

  • Wireframes

    Wireframes

 

  • Languages and Technologies

    Balsamiq was used to create the wireframes.

    Google Fonts was used for the Boogaloo font.

    Fontawesome was used for the social media icons.

    CSS CSS for the design and some media.

    JS Javascript for the game functionality.

 


Testing


 

Performance

I used developer tools in Chrome and Firefox during development in order to continuouly gauge performance and responsiveness. The following hardware was used to test real life performance.
  • Devices Used were

    Desktop PC, Macbook Pro, Macbook Air, Lenovo Yoga, Huawei P20

    I tested the site using various browsers on the different devices.

  • Browsers Used were

    Microsoft Edge, Safari, Google Chrome, Mozilla Firefox, Opera

 

Validation

 

  • HTML Validator was used throughout the project to test for errors.

    Empty heading errors. This is by design as the text will be entered programatically during game play. Four "Attribute odd-flag not allowed on element button at this point". This is also by design as the game needs to allocate a value to the attribute in order to determine which is the odd one out.

  • CSS Validator used to check for and correct errors. There are currently no errors in the code as currently submitted.

  • JSHint Validator used to check for and correct scripting errors. There are no errors in the final draft.

 

Responsiveness

 

* [Lighthouse](https://developer.chrome.com/en/docs/lighthouse/) in Chrome Developer Tools was used to check performance. 

100% on all checks.

![Performance Screenshot](doc/img/performance.png)

Game Play Testing

I tested the game myself and also invited friends and family members to do the same. Cosmetic issues with responses to the player were all resolved during the game testing. There are no outstanding issues or errors with the game.
  • Test chart to ensure website works as expected

    Test Chart

 


Deployment


 

  • Github Deployment

    Navigate to the repository Odd-One-Out

    • Click on 'Settings' at the top right of the list of github page icons
    • Click on 'Pages' in the menu on the in the 'Code and Automation' section.
    • Under 'Build and Deployment', select 'Deploy from a Branch'.
    • From the dropdown menu under 'Branch', select 'main'
    • Set the folder in the button to the right to '/root'
    • Click 'Save'

    The page should refresh and the deployment link should appear above 'Build and deployment'

  • Clone Repository

    Navigate to the repository Odd-One-Out.

    • Click on the 'Code' button and then the 'Codespaces' tab if not already selected
    • Click on the 'Create codespace on main' which will create a copy of the workspace

    The workspace will now open in your gitpod for you to edit or modify

 


Acknowledgements


Thanks to the following people who have supported me:

  • My mentor Gaff (Naoise Gaffney)
  • Ed Bradley and David on the #ask-us-anything channel
  • My wife Tricia
  • LWETB and the Code Institute for the opportunity to do this

About

A simple visual quiz displaying four symbols, one of which is out of place.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published