Skip to content

d-killen/hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman

Contents

  1. Description
  2. Installation Instructions
  3. Usage Instructions
  4. Project File Structure
  5. License Information

Description

Hangman is a classic game in which a player thinks of a word and the other player tries to guess that word within a certain amount of attempts.

This is an implementation of the Hangman game, where the computer thinks of a fruit and the user tries to guess it.

Learning achieved through this project includes:

  • Experience with Python:
    • functions
    • if/else statements
    • while loops
    • user inputs
    • class definitions
    • class attributes
  • README creation and editing
  • Experience with git & GitHub:
    • Cloning an online repository
    • Making local changes
    • Committing and pushing changes back to the cloud repository
    • Storing a PAT

Installation Instructions

Download the hangman directory and run milestone_5.py file in the command line to start the game. No installation required.

Usage Instructions

The code includes a list of fruits from which one is randomly chosen.

It will prompt the user to make a guess and then inform the user whether or not their guess is in the word.

Project File Structure

  • Project Directory
    • README.md
    • milestone_2.py
    • milestone_3.py
    • milestone_4.py
    • milestone_5.py

License Information

hangman: a simple python implementation of the classic hangman game Copyright (C) 2023 Daniel Killen

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages