Giter VIP home page Giter VIP logo

worlde's Introduction

Worlde

Wordle

/*
wordle.cpp
****NOTE ONLY RUNS ON WINDOWS!!!****

Menu-driven interface program that is a word-guessing game that allows
the user to guess a randomly selected five-letter word. Keep in mind this program
grabs the words randomly from a txt file. It allows the 
user to:
    1. See the Rules.
    2. Play the Game.
    3. Quit.

Input:  User's choice
        Five-letter word entered by user

Processing: 1. Display menu.
            2. Prompt user for choice.
            3. Drive menu options
                Case 1 - RULES
                    Display the rules of the Wordle game.
                Case 2 - PLAY
                    Open the "OneHundredWords.txt" file for reading.
                    Load the words into an array of 100 strings called "wordPool".
                    Randomly selcect one of the words stored in the wordPool array.
                        While there are words in the file:
                            Prompt player to enter a guessed five-letter word.
                            Provide feedback with colors to player's guess.
                                Green – The letter is in the word and in the correct spot. 
                                Yellow – The letter is in the word but in the wrong spot.
                                Gray – The letter is not in the word in any spot. 
                Case 3 - QUIT

Output: ------------

*/

worlde's People

Contributors

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