Skip to content

Hangman game developed with Python and integrated with MySQL.

Notifications You must be signed in to change notification settings

SergioPinilla04/Ahorcado

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Game: Developed with Python and Integrated with MySQL

Welcome to the classic Hangman game, but this time in your own Visual Studio Code environment!

Hangman is a game where you try to guess a word letter by letter, but be careful with your failed attempts or our little Hangman will suffer the consequences!

In this game, the user, their password, the guessing word, and the number of attempts are stored in a MySQL database.

image

Contents

  1. How to Play
  2. Installation
  3. Screenshots
  4. Contributions
  5. License

How to Play

  1. Register or Log In:

    • When starting the game, you will be given the option to register or log in.
    • If you are a new user, choose "Register" and pick a username and a secure password (it will be encrypted).
    • If you already have an account, select "Log In" and enter your credentials.
  2. Main Options:

    • After logging in, you will be presented with two options: "Play" or "Delete Account."
    • Choose "Play" to start a new Hangman game.
    • If you decide to "Delete Account," confirmation will be requested, and if accepted, your account and data will be deleted.
  3. Hangman Game:

    • In the game, try to guess the hidden word by entering letters.
    • Each correct letter will reveal its position in the word.
    • Each incorrect letter will bring you closer to the limit of failed attempts. Watch out for Hangman!

Installation

  1. Requirements:

    • Make sure you have Python and MySQL installed on your system.
    • You will also need the Python extension in Visual Studio Code.
  2. Clone the Repository:

    git clone https://github.com/SergioPinilla04/Python_web
    
  3. MySQL Setup:

  4. Run the Game:

Screenshots

  1. Registration:

    image

  2. Log in and delete account

    image

  3. Game:

    image

  4. Database:

    image image

Contributions

Feel free to contribute to the development of the game. You can open issues to report bugs or suggest new features.

License

This work is licensed under CC BY-NC-SA 4.0. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/

About

Hangman game developed with Python and integrated with MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages