Coder Social home page Coder Social logo

savvy's Introduction

savvy

savvy is a word challenge game. This command line game is a fun and interactive game where a player is given a set of empty boxes to fill with combinations from a given set of letters. It is a great way to test your vocabulary and word-building skills!

installation

  • clone the repository to your local machine

     git clone https://github.com/juniorohanyere/savvy.git
  • navigate to the project directory

     cd savvy
  • install the required dependencies

     sudo apt install clang
     sudo apt install make
  • install savvy with make

     make
     sudo make install

You're all set!

usage

To start the game, run any of the following commands

  • run savvy with the default mode random
     savvy
  • run savvy with a defined mode
     savvy -m [mode]
  • to print a help message on the usage
     savvy -h

If run again, the game continues after the last successful challenge. To run the game from a specific challenge, run any of the following commands:

  • run with the default mode

     savvy -c [challenge]
  • run with a defined mode

     savvy -m [mode] -c [challenge]

The game will prompt you to enter a set of letters. You can enter any combination of the given set of letters, and the game will generate all possible valid words, based on the available empty boxes, using a pre-defined dictionary of words.

Once you have entered the letters, the game will validate the letters, and if valid, your screen is updated to display the boxes that were filled. Keep entering new sets of letters to have all the empty boxes filled.

game rules

  • empty input displays your progress for the empty boxes and/or boxes filled
  • the game will only consider valid english words from a pre-defined dictionary
  • words can be of any length, provided it meets the length of available empty boxes. If any valid word was found, the game will display your progress for the empty boxes and/or boxes filled
  • enter letters with spaces to make a batch validation of words
  • the game will keep track of your progress for all game modes

contributions

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please kindly open an issue or submit a pull request. Make sure to follow the project's code of conduct.

license

This project is licensed under the GPL-3.0 license

acknowledgements

demo

savvy.png savvy.png

feel free to customize this README file according to your specific game implementation and requirements. Include any additional sections, instructions, or details that are relevant to your game. Happy Gaming!

savvy's People

Contributors

juniorohanyere avatar

Stargazers

Bakare Mayowa avatar Noel Emmanuel 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.