Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 955 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 955 Bytes

Certainly! Here's a simplistic README file based on the code:


Hangman Game

This is a simple Hangman game written in Lua. Players try to guess a word by suggesting letters within a limited number of attempts.

Instructions

  1. Choose a Option:

    • Enter 1 to start the game.
    • Enter 2 to view credits.
    • Enter 3 to exit.
  2. Gameplay:

    • You have 6 attempts to guess the word.
    • Enter a letter to guess.
    • If the letter is in the word, it will be revealed.
    • If not, attempts will decrease.
  3. Win/Lose:

    • Guess all letters correctly to win.
    • Exhaust all attempts to lose.

How to Run

  1. Make sure you have Lua installed.
  2. Run the Lua file containing the game code.
  3. Follow the instructions in the terminal to play the game.

Credits

  • Game created by Mitja Kurath.

Feel free to adjust or expand upon this README file according to your preferences or specific project requirements!