Giter Club home page Giter Club logo

catchloki's Introduction

Catch Loki

Catch Loki is a quick fire game which has 3 user levels and is based on the Norse mythology of Thor, Loki and Asgard which has been recently played out on the big screen in Marvels Thor and Avenger movies. When the user opens the initial page they are greeted with the title, the rules, 3 game levels and 6 Thor characters. The user chooses which level they want to play. When the game starts the Thor images disappear. When they reappear one of them is Loki. The user has to click on Loki before all the images disappear again. The aim is to click on Loki on each occasion that the images appear. If the user hits the Loki image every time they get a 'Congratulations' message at the end telling them they have caught Loki and they should maybe try a harder level. If they lose, the user gets a message telling them to try again. The game is a fun way of passing time and is aimed at all ages.

Link to live website


Screenshot Responsive


Index


User Experience (UX)

First time user goals

  • As a first time user, I want to be able to easily understand how to play the game.
  • As a first time user, I would like to have the game bright and welcoming.
  • As a first time user, I would like to see my score and know how I did at the end of the game.
  • As a first time user I would like to have the option to play different levels.

Returning user goals

  • As a returning user, I would like to be able to play a harder or easier game depending on my skill level.

Reasons a user may visit the website

  • A user is looking to play a quick game which doesn't take long.
  • A user is aware of the Marvel franchise and would like to play a game which is related.
  • A user would like to play a game which has various levels.
  • A user would like the options of playing on phone or laptop.

Features

Existing Features

Title

Uses a well known Norse mythology and Avengers character, so the game title is instantly recognisable.

Title

Rules

Tells the user how to play the game in a fun and challenging way

Rules image

Game buttons

There are 3 game buttons giving the user the opportunity to try harder levels

Game buttons

Characters

The home screen starts with 6 Thor characters. When the game starts the characters disappear and reappear with one of them as Loki

Characters Loki

Score

A score tallies up as the game is played

Score

A message appears depending on how the user has done.

If the user has lost

Loser message

If the user has won

Winner message

Reset button

Once the game has finished a reset button appears, which when pressed, takes the user back to the home page.

Reset button

Future features

  • Add more hero characters
  • Incorporate sound to the game

Typography and color scheme

  • I want a font that makes the game feel a bit futuristic and 'Tapestry' works very well Google Fonts
  • I want a relevant background to the game so will use a cartoon interpretation of Asgard and the bi-frost which is used to travel through space from Asgard. Background Image

Wireframes

Wireframes Wirefames


Technologies used

Design


Testing

  • I tested that this page works on Chrome, Edge and Safari.

  • I confirmed that this project is responsive and works on all screen sizes using the dev tools available on Chrome and Edge.

  • I confirmed that all text is readable and easy to understand.

  • I tested all the buttons and tiles, results below

Test Action Expected Result Outcome
Easy Game Button Button clicked Easy game start PASS
Hard Game Button Button clicked Hard game start PASS
Very Hard Game Button Button clicked Very Hard game start PASS
Reset Button Button clicked Page resets PASS
Tiles work when clicked Tiles clicked When Loki clicked score increments, when Thor clicked no score is noted PASS

Testing user stories

  • As a first time user, I want to be able to easily understand how to play the game.

    • On the home page the rules of how to play are written at the top of the page under the title
  • As a first time user, I would like to have the game bright and welcoming.

    • The game has a bright cartoon element with a colorful background image
  • As a first time user, I would like to see my score and know how I did at the end of the game.

    • The game has a score tallying as the user plays. At the end of the game there a message appears telling the user whether they 'caught Loki' or not
  • As a first time user I would like to have the option to play different levels.

    • There are 3 game options; Easy; Hard; Very Hard. The levels are sequentially harder as the user goes through the them.
  • As a returning user, I would like to be able to play a harder or easier game depending on my skill level.

    • The option to play different levels is available and a message is suggested to try a harder level if you win the game

Bugs

Unsolved bugs

  • The score tallies on every click meaning the user can win if they have a quick finger without clicking on 'Loki' on every turn.
  • On initial game and the first reveal of characters, the Loki character can lag with lower internet speeds.

Validator Testing

HTML

  • No errors were returned when passing through the official W3C validator w3c validator

CSS

  • No errors were found when passing through the official (Jigsaw) validator jigsaw validator

Javascript

  • No significant issues were found when passing through jShint

Accessibility

  • I confirmed that the colours and fonts chosen are easy to read and accessible by running it through lighthouse in devtools lighthouse validator

Deployment

This project was deployed using the steps below with version releasing active. Please do not make any changes to files within this repository as any changes pushed to the main branch will be automatically reflected on the live website. Instead please follow the second set of steps which guide you to forking and cloning the website where changes can be made without impact to the live website. Thanks!

  1. Logged into my GitHub repository
  2. Clicked on the "Settings" button in the main Repository menu.
  3. Clicked "Pages" from the left hand side navigation menu.
  4. Within the Source section, clicked the "Branch" button and changed from 'None' to 'Main' in the dropdown menu.
  5. The page automatically refreshed with a url displayed.
  6. Tested the link by clicking on the url.

The live link can be found here Catch Loki

Cloning/Forking

To fork this website to either propose changes or to use as an idea for another website, follow these steps:

  1. If you haven't yet, you should first set up Git. Don't forget to set up authentication to GitHub.com from Git as well.
  2. Navigate to Catch Loki.
  3. Click the 'Fork' button on the upper right part fo the page. It's in between 'Watch' and 'Star'.
  4. You will now have a fork of the Catch Loki repository added to your GitHub profile. Navigate to your own profile and find the forked repository to add the required files.
  5. Above the list of forked files click the 'Code' button.
  6. A drop-down menu will appear providing a choice of cloning options. Select the one which is applicable to your setup. Further details on completing the final step can be found on GitHub's 'Fork a Repo' page.

Credits

Content

  • The idea for the game and initial coding was taken from the book Get Coding.
  • The Deployment and Forking text in the README was taken from RickofManc

Media

catchloki's People

Contributors

scotrob77 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.