Coder Social home page Coder Social logo

bingo's Introduction

Interactive Bingo

Goal: A bingo game playable in the web browser.

Features:

  • can receive a number of inputs that is higher than the total number of boxes on the bingo card itself

    • will fill each card with a randomly selected subset of facts from the total pool of facts
    • will place the facts into boxes in a random order
  • each card has 16 bingo boxes (4x4 grid), and thus displays at most 16 out of a total 30 unique facts

  • each fact text fits neatly inside the bingo box that contains it, is easy to read, and looks good

  • the user can mark a bingo box complete, making it contribute to their victory

  • when a box is marked complete, it changes visually so that it's easy to tell it's complete

  • the user can write text on a bingo box that is separate from the fact in that box. this text field can be used for, at the very least, writing the name of the person they think the fact corresponds to

  • the background is the canva art designed by Emily

// Goal: Display some user input (i.e. user's name shows up over the card) // Goal: let a user mark a cell complete/incomplete and display it differently accordingly // Goal: some CYOA, i.e. localStorage // login feature would count as CYOA

// 1. A unique user name owns a unique card object // 2. the user name submission should enforce that it is a first name and a last name, and that it is capitalized properly // 3. the form should inform the user of what format it expects them to enter their name in // 4. a card object knows which data it has and what order that data is in (it should be a random order unique to each card, but it is not necessary to enforce uniqueness) // 5. eventually a card object will know which cells have been "solved" // 6. eventually the app will notice if the card has boxes solved that happen to form a bingo victory condition (i.e. 4 diagonally, 4 across, 4 in a column) // 7. a card object knows which username it belongs to // 8. when a user submits a name that we haven't seen before, we generate a fresh card just for them. we make sure that card knows it belongs to them so that the next time they provide the same name they can get the same card // 9. when provided the user's name, the application retrieves the card that was assigned to that name, and it's the same card (with the same contents in the same order) each time

bingo's People

Contributors

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