Giter Club home page Giter Club logo

try-your-luck-dice-game's Introduction

Try your luck dice game

The Try your luck dice game site is a simple and enjoyable dice game based on luck of the random digital dice. The user competes against the computer and has an equal chance of winning. The site is directed at users who are interested in playing a quick simple game without any preknowledge of complicated game rules. Visitors to this site will benefit from the simplicity and speed of the game.

full page image

Features

Existing Features

  • Heading area
    • The heading text and brand logo at the top of the page serve as the page title and introduction to the site
    • The top heading area content informs and enables the user to quickly comprehend what the site is all about. page heading area
  • Game area
    • The game area takes up the largest part of the site. This is where the game is played and shown. It consist of the display area where the game result is displayed and areas for the competiting player and computer
    • The simplicity of the text based game area allows the user to be constantly informed and therefore play the game easily. main game area
  • Game button
    • The game button is used to control the start of a new game. It also triggers the display of the game status and winner.
    • This button alone allows the user to control all aspects of the game. No other aid or skills are required to play the game. game control button

Features left to implement

  • A Future Idea
    • A function which adds player and computer game scores in a cumulative total.

Testing

  • The site was successfully tested on Chrome, Firefox and Edge browsers.
  • The page was Lighthouse for accessibility on moblie and desktop devices. For both devices the accessibility score was over high.

lighthouse test

Validator Testing

Fixed Bug

  • I was able to fix the bug preventing me from placing the values from the random dice roll on the display area.
  • I was able to fix bug preventing the page from being responsive.

Deployment

  • The site was deployed to GitHub pages. For the deployment the following steps were applied:
    • In GitHub repository, navigate to the Settings tab
    • From the left sidebar options select Pages and under Github Pages from the source section drop-down menu, select option to deploy from main branch, save and the live link will be generated.

The live link to the hosted project is - https://peterudu.github.io/try-your-luck-dice-game/

Credits

Content

try-your-luck-dice-game's People

Contributors

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