Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adislksn/hangman
Simple hangman game using pygame
https://github.com/adislksn/hangman
game pygame python
Last synced: 11 days ago
JSON representation
Simple hangman game using pygame
- Host: GitHub
- URL: https://github.com/adislksn/hangman
- Owner: adislksn
- Created: 2022-04-25T20:28:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-24T08:06:58.000Z (over 2 years ago)
- Last Synced: 2024-11-12T00:35:28.844Z (2 months ago)
- Topics: game, pygame, python
- Language: Python
- Homepage:
- Size: 9.91 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hangman
[![PyPI version](https://badge.fury.io/py/pygame.svg)](https://badge.fury.io/py/pygame)## Youtube Video
[![Click to open youtube video](https://img.youtube.com/vi/9u2yUmBjJmc/0.jpg)](https://youtu.be/9u2yUmBjJmc)## Description
Program that allows the user to play the classic game of Hangman. The user is prompted to enter a word, and the program will display a partially completed word, as well as the number of incorrect guesses remaining. The user is prompted to guess a letter, and the program will respond appropriately. If the user guesses a letter that is not in the word, the program will display the incorrect guess count, and the user will be prompted to guess another letter. If the user guesses a letter that is in the word, the program will display the partially completed word, and the user will be prompted to guess another letter. If the user guesses all the letters in the word, the program will display the completed word, and the user will be prompted to play again.## Installation
To install the program with docker, run the following command in the terminal:
```bash
docker build -t hangman-py .
```
or
```bash
make build-hangman
```
Then run the following command in the terminal:
```bash
docker run hangman-py
```
or
```bash
make run-windows
```
But we still encountered a problem with the videodriver.
```bash
Traceback (most recent call last):
File "/app/Hangman-code.py", line 13, in
display = pygame.display.set_mode((width, height))
pygame.error: No available video device
```
## Anggota Kelompok RD-07| [
Pandu F](https://github.com/PanduF)
[🖥️](https://github.com/adislksn/FE-PPLK-2022/commits?author=PanduF "Code") 120140020 | [
Nashirotul](https://github.com/nashirotul)
[🖥️](https://github.com/adislksn/FE-PPLK-2022/commits?author=nashirotul "Code") 120140031 | [
Adi S](https://github.com/adislksn)
[🖥️](https://github.com/adislksn/FE-PPLK-2022/commits?author=adislksn "Code") 120140038 | [
Lidya A](https://github.com/lalvionisya)
[🖥️](https://github.com/adislksn/FE-PPLK-2022/commits?author=lalvionisya "Code") 120140042 | [
Devi Kurnia](https://github.com/devikrn)
[🖥️](https://github.com/adislksn/FE-PPLK-2022/commits?author=devikrn "Code") 120140060 | [
Hanif](https://github.com/hanif354-bayte)
[🖥️](https://github.com/adislksn/FE-PPLK-2022/commits?author=hanif354-bayte "Code") 120140120 |
|--|--|--|--|--|--|- Beta Ver. 0.1.2