dvfrancis / hi-lo-card-game

Code Institute Milestone Project 2
1 stars 0 forks source link

Higher-or-Lower Premium Card Game THIS DOCUMENT IS NOT YET COMPLETE

Overview

Higher-or-lower is a deceptively simple card game where the player has to decide if the next face-down card (in a sequence of cards) is higher or lower than the current face-up card.

The player places a wager on whether or not they can guess the next card correctly until they either guess all cards correctly, or they lose their wager and have to start again; the game ends when all cards, in a pack, have been played, or the player has used up all of their points.

For this website, the gameplay reflects an amended version of higher-or-lower premium. This offers better odds than just the single wager, with the number of possible winning points increasing dramatically when placing a wager on, and then guessing correctly, the appearance of a specific suit, matching card, a specific card, or a run of cards.

In the UK, higher-or-lower was the basis for the popular 1980s television game show Play Your Cards Right, where contestants answered questions to guess a longer sequence of cards than that typically used in the classic higher-or-lower card game.

Site Preview

A preview of the Hi-Lo website at various screen sizes

Site Link

The live site is hosted by Github Pages.

Index

  1. Overview
    1. Site Preview
    2. Site Link
  2. User Experience Design
    1. Strategy
      1. Key Business Goals
      2. Key User Goals
      3. User Experience
      4. User Expectations
      5. User Stories
      6. User Personas
    2. Scope
      1. Existing Features
      2. Future Features
    3. Structure
      1. User Flow Diagram
      2. Logic Flowchart
    4. Skeleton
      1. Wireframes
        1. Mobile
        2. Tablet
        3. Desktop
    5. Surface
      1. Colours
      2. Typography
      3. Media
      4. Content
  3. Testing
  4. Deployment
    1. GitHub Pages
    2. Forks
    3. Local Clones
    4. Gitpod Workspaces
  5. Credits and References
  6. Technologies Used
  7. Acknowledgements

User Experience Design

Strategy

Key Business Goals

Key User Goals

User Experience

User Expectations

User Stories

First time visitor goals
Returning visitor goals
Frequent visitor goals

User Personas

The website is designed to appeal to all demographics, but the following personas are meant to represent a range of potential users:

User 1

“As a student, I want something I can play during my journey to university, so that I’m not bored”

Acceptance Criteria
Tasks
User 2

“As a mother of two, I want an easy, quick game to play while looking after my children.”

Acceptance Criteria
Tasks
User 3

“As a project manager, I want a game that I can play to take my mind off my stressful job”

Acceptance Criteria
Tasks
User 4

“As a retired schoolteacher, I want a fun game that I can enjoy but also possibly use to teach my grand-children about numbers”

Acceptance Criteria
Tasks

Scope

Existing Features

Future Features

Structure

User Flow Diagram TO BE UPDATED TO FINAL VERSION

This diagram shows how the user may interact with the website during a game; dashed lines indicate optional routes.

User flow diagram

Logic Flowchart

The following flowchart explains the logic used for the gameplay:

Hi-Lo Premium

Skeleton

Wireframes

The wireframes presented here show my initial ideas:

Mobile
Home

Home (index)

FAQ

FAQ

404

404

Tablet
Home

Home (index)

FAQ

FAQ

404

404

Desktop
Home

Home (index)

FAQ

FAQ

404

404

Surface

Colours

The following colours, taken from palette 406 of the Sarah Renae Clarke Colour Catalogue, Volume 2, have been used to add interesting backgrounds to the website, with white (#FFF) as a contrast:

Website colour scheme

Link state colours for social media icons:

Hover
Active

Typography

The fonts used on the site were chosen from Google Fonts:

Media

The following images, used on the site, have been taken from Deposit Photos:

Content

All website copy has been written by myself.

Testing

Deployment

GitHub Pages

The site was deployed using GitHub Pages, as follows:

GitHub Pages deployment

Forks

To copy the repository to your own GitHub account, so you can make changes without affecting the original version, you can fork it:

Fork deployment

Local Clones

To deploy the project on your own computer you can clone it:

Clone deployment

Automatically Create a Gitpod Workspace

Click the button below to create a Gitpod workspace from this repository (requires the Gitpod browser extension).

Open in Gitpod

Credits and References

The following references were used for general advice and help in implementing specific functionality on the website:

Technologies Used

Acknowledgements

TBC