Code Monkey home page Code Monkey logo

sutton's Introduction

Sutton - ๐Ÿฅ A Fruity Memory Game! ๐Ÿ

FLEX 323, May 15, 2021

image

๐Ÿ”ด Introduction

Sutton is the name of the game! Users must think fast as they play a game of memory. Each round, a random fruity sequence is displayed to the player. Players must repeat the pattern using a fantastic input pad. Players can try their best to memorize longer and more challenging streaks!

๐Ÿ”ด Technologies used

๐Ÿ”ด Installation Instructions

  1. Clone this repo
  2. Navigate to the locally established directory
  3. Open index.html

๐Ÿ”ด MVP User Stories

  • As a player, I want to be able to start a new game, so that I can play multiple times in a row.
  • As a player, I want the game to light up a sequence of input pads, so that I have a pattern to reproduce.
  • As a player, I want the game to animate the pads, so that I know my moves are registered.
  • As a player, I want the game to track my score, so that I know how good my memory is and how long the pattern has become.
  • As a player, I want the game to alert me when I make a mistake, so that I know the game is over.

๐Ÿ”ด Wireframes

Simple Gameplay image Challenging Gameplay image Game Over Condition image Mobile Friendly View

image

๐Ÿ”ด Major Hurdles

The biggest hurdle I overcame this project was ensuring there would be no animation clipping (due to asynchronous code). I was able to ensure that when the game sequence is displayed, animations don't overlap. I also made sure that the user can play quickly and that the animations don't prevent input during their turn from being rejected. I implemented multiple tactics to satisfy animation timing requirements. That includes Promise statements, setTimeout functions, and async await calls.

This project also served as a formal introduction to css... my first front-end UI!

๐Ÿ”ต Stretch Goals (Not Mandatory):

  • Mobile friendly layout
  • Adjustable difficulty (user can increase the quantity of unique memory pads)
  • Integrate 3rd party API
  • Colorblind mode

Timeframes

Task Priority Estimated Time Time Invested Actual Time
Setting up site framework H 1.5 hrs X hrs 2 hrs
Creating game logic H 4.25 hrs X hrs 5 hrs
Styling game (css) M 4.25 hrs X hrs 6 hrs
Building out game animations (responsive styling) M 4 hrs X hrs 8 hrs
Accessibility Styling L 1 hrs 0 hrs X hrs
Adjustable game difficulty L 4 hrs X hrs 4 hrs
Total n/a 25 hrs X hrs 24 hrs

Project Schedule

Day Deliverable Status
5/3 Project proposal / wireframe pitch complete
5/4 Site framework / start game logic complete
5/5 Finish game logic & css complete
5/8 Responsive styling complete
5/11 Accessibility / start adjustable difficulty incomplete / complete
5/12 Finish adjustable difficulty & playtime based scoring complete / incomplete
5/13 Persistent scoring w/ usernames incomplete
5/14 Finalize MVP complete
5/14 Clean up stretch features complete
5/14 Submit project as an issue to the cohort gallery complete
5/14 Prepare for demo complete
5/15 Presentation complete

sutton's People

Contributors

dependabot[bot] avatar trevor4n 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.