GithubHelp home page GithubHelp logo

bangwords's Introduction

Contributors Forks Issues Stars

BangWords



Contributors


Matthew Lane @GreyMatteOr

Chris Castanuela @Chriscastanuela

Ian Holladay @holladayian



The sauce


Link to our app

API Repo Link



What it is ๐Ÿค™


This app is a knock off of a very popular childrens game. One person chooses to generate a word, while the other one takes turn guessing possible letters it contains. If a guesser guesses all of the possible letters of the generated word OR, the word itself, before they run out of allotted failed attempts, they win the game.



What it does


The BangWords application connects two or more players to a server using sockets. Here, a game is run, holding the state of the word, deciding if guesses are correct, and returning verdict back to the clients. The clients then parse this data through React components to display and interact with on the DOM.



What we tried to do


We were given a project and a list of technologies to research. We chose Building a Backend. Our goal was simple, create a server with Express, and create an application for users to interact with it. We origionally wanted to make an interactive puzzle solving page, but upon review from our project managers we decided to make our application a bit more humble.



How To Play


- Gather two people
*two tabs works as well if you want to check it out by yourself
- Sign in with a name if you'd like!
*If not, you'll end up playing as guest
- Have one player create a room using the room ID form 
- Have the second player join said room
- Declare who the word generator is
*All other players will be guessers
- Have the player who is the generator decide on a word or phrase for the other player(s) to guess
- In the gamepage, the guesser can try guessing letters or the entire word/phrase
#### Notes ####
- Each guesser has 6 failed attempts
- You gain points based on how many failed attempts you have left
- You get a bonus if you guess the entire word/phrase
- Use the chat to talk smack (politely) 
- The generator changes after a game is complete



Our Rough Draft


This was our original wireframe. It shows the flow from Homepage to WordSelector to Gamepage. wireframe

This was a rendition of what we thoughts hints would look like. We later went with the ability for players to chat instead. hints section

This is a flwochart for how our client and serveer would interact. flowchart

This is a representation of the sockets' paths. socket-path



Our Final Product


Below is an image of our lobby. Here you can chose a name (or be left as guest), and create or join a room. lobby section

Our loading page... lobby section

This image represents our game's functionality. It implements a chat feature, counts down the remaining guesses, and updates the DOM when the guesser is correct. gamepage section

This is the winner! win



Set Up


  • Clone down the BangWords repo
  • CD into it.
  • $npm install the necessary dependencies.
  • Take a look.
  • Feel free to $npm test some things out.



Technologies


React
sockets
Express
Jest



Special Thanks to our Project Managers


Khalid Williams

Leta Keane











bangwords's People

Contributors

holladayian avatar chriscastanuela avatar greymatteor avatar

Stargazers

 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.