Git Product home page Git Product logo

pole_chudes's Introduction

pole_chudes

This is a console game "Field of Dreams"

Rules

There is a word that you need to guess. You can guess the word itself or all of it's letters. You have several moves (number of letters in the word * 3).

In the beginning of the game and after each move, the word that you need to guess is printed to the console (with "*" instead of unguessed letters). In each move, the user inputs a letter or a word with the same number of letters as in the word that they need to guess. The register of the input doesn't matter. If the user has inputed something else, they see a message about it in the console. This action is also a move. If the user hasn't guessed the letter or the word, they also see a message about it in the console.

If the user has guessed a letter, all that letters in the word open. If the user has guessed the word, they see a win message in the console.

Also the user can input commands. A command is not a move.

A list of possible commands:

  • !moves - show the number of moves
  • !left - show letters that are left in the alphabet
  • !used - show used letters and words
  • !used_letters - show used letters
  • !used_words - show used words
  • !give_up - give up and show the word
  • !help - show possible commands

pole_chudes's People

Contributors

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