Giter Club home page Giter Club logo

hangman's Introduction

About me

Hi! I'm Ignacio, a computer science student at UNC-FaMAF in Córdoba, Argentina
I'm currently learning or improving:

Languages

C C++ Python Scala Haskell C# SQL Java JavaScript

Frameworks

SFML OpenMP React FastAPI Qt OpenCV Akka

Tools

Linux Git RSS Unity Jupyter Quartus OmNet++ Bash Jira AutoCAD

IDE / Text Editors

Vim VSCode Sublime Atom

System

Fedora Intel GPU RAM

Links

YouTube GMail

my stats

my stats

hangman's People

Contributors

ignabelitzky avatar

Stargazers

 avatar

Watchers

 avatar

hangman's Issues

Doesn't accept a whole world to guess

Currently, the Hangman game implemented only allows users to guess one character at a time. There is no functionality to input the entire word for guessing. This limitation reduces user convenience and may hinder gameplay for those who prefer to guess the entire word rather than individual characters.

Steps to Reproduce:
Clone the repository.
Navigate to the Hangman game section.
Start a new game.
Attempt to input the entire word for guessing.

Observe that the program does not accept the entire word input and prompts for individual character guesses instead.

Expected Behavior:
Users should have the option to input the entire word for guessing in addition to guessing individual characters. This provides flexibility and caters to different user preferences and playstyles.

Actual Behavior:
The program only accepts individual character guesses and does not provide an option to input the entire word for guessing.

Note: Implementing the ability to input the entire word for guessing would enhance the gameplay experience and make the Hangman game more inclusive for a wider range of users.

TO-DO: Implementation of a score system.

A score system for the Hangman game typically involves tracking the player's performance throughout the game. Here's a simple scoring system:

Initial Score: At the beginning of the game, the player starts with a certain number of points, let's say 100.

Incorrect Guess Penalty: Every time the player makes an incorrect guess, they lose a certain number of points. The amount deducted per incorrect guess is typically consistent throughout the game. For instance, you could deduct 10 points for each incorrect guess.

Correct Guess Bonus: When the player correctly guesses a letter in the word, they may earn some points. This encourages players to make correct guesses and rewards their progress. You could award, for example, 5 points for each correct guess.

Word Completion Bonus: If the player successfully guesses the entire word before running out of attempts, they earn a bonus. This bonus could be larger than the individual letter guesses, perhaps 50 points.

Game Completion Bonus: If the player successfully completes a certain number of games consecutively or within a set time frame, they may earn additional bonus points as a reward for consistency or speed.

Time Bonus (Optional): You can also include a time bonus if you want to add a time element to the game. For example, the player could earn extra points based on how quickly they guess the word.

Penalty for Hint Use (Optional): If the game offers hints to the player and they decide to use one, you could deduct points from their score as a penalty.

High Score Tracking: Finally, keep track of the player's high score so they can aim to beat it in subsequent games. This adds an element of competition and encourages replayability.

By implementing such a scoring system, players can challenge themselves to improve their performance in each game of Hangman. It adds an extra layer of engagement and motivation beyond simply guessing the words.

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.