Code Monkey home page Code Monkey logo

uno's Introduction

UNO by Justin

Intro

UNO is a tabletop card game developed by Merle Robbins in 1971. It is currently produced by Mattel. I chose it for my project for sentimental reasons. In my previous work with adults with Autism, UNO was a favorite game of many participants of the program. I would love to go on and develop this app further to be more intuitive and accessible for people with fine-motor deficits and sensory sensitivities.

Intended user flow

  1. User selects the number of players and the number of computer players
  2. App randomly selects a player to go first and deals all players their hands
  3. On their turn, the user will select from their hand a legal card to play (one that matches either the color or value of the card in play, or a wild), or draw from the deck if their hand contains NO legal plays
  • Special Cards:
  • SKIP - this card skips the next player's turn
  • REVERSE - this card reverses the order of play
  • DRAW2 - this card forces the next player to draw 2 cards
  • WILD - when a player plays a wild card, they may select the color of that wild to set the active color in play
  • WILD DRAW4 - same as above and also forces the next player to draw 4 cards
  1. Play continues in this fashion until one player runs out of cards in their hand, at which point the winner is declared and the user is asked whether they would like to play again.

Initial wireframes and sketches

  • welcome
  • die roll for first player
  • die roll winner announced
  • general game state
  • uno button expanded
  • called UNO
  • winner declared

Technologies used

  • HTML5
  • CSS3
  • JavaScript ES6
  • Git
  • GitHub

Getting started

Visit the project page here and play!

Next steps

  • Implement UNO button, allowing users to call UNO on themselves and others (if UNO is not called when a player has one card, they are forced to draw 3)
  • Support for playing another person non-locally
  • Support for up to four players
  • Improve UI for users with sensory sensitivities and fine motor deficits

uno's People

Contributors

reactionaryzebra avatar

Watchers

 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.