Coder Social home page Coder Social logo

mystery-fruit's Introduction

Mystery-Fruit

My word guess game re-imagined in Node. Now with 100% more fruit!

Getting Started

Download the repository. Then, navigate to the folder and run install from your node package manager. If everything is installed, when you run index.js, you should get a screen like this:

Mystery Fruit

Just follow the on screen instructions to start discovering the mystery fruit! How many can you get right?

Prerequisites

You must have node installed in your terminal with support for the Node Package Manager.

Installing

Node.js Website

Navigate to the Node.js website and follow the instructions to install Node. Then navigate to the project folder in your terminal.

/.../Mystery-Fruit/

Within that folder, run

npm install

Now, you're ready to play! Just run

node index.js

Install

Built With

Challenges

I focused on playing around with Constructors and reducing Global Variables in this project. Unlike my first word guess game, I divied up the reponsibilities for functionality between several objects and store the relevant data within them.

OOP OOP2

This lead to much more modular and compartimentalized code that's easy to understand in addition to not having messy global variables floating around.

Non-Alphabet Characters

I handled words in my dictionary having spaces, apostrophes, and other non-alphabet characters by having them default to showing. In the end, I ended up not using that functionality, but the potential is there for future iterations.

Authors

mystery-fruit's People

Contributors

robertshaw87 avatar

Watchers

James Cloos 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.