https://github.com/crisboleda/bingo-game
Bingo Game
https://github.com/crisboleda/bingo-game
django django-rest-framework game in-progress pygame python3
Last synced: 2 months ago
JSON representation
Bingo Game
- Host: GitHub
- URL: https://github.com/crisboleda/bingo-game
- Owner: crisboleda
- License: mit
- Created: 2019-11-22T03:04:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T03:57:19.000Z (over 3 years ago)
- Last Synced: 2025-05-30T18:13:36.324Z (about 1 year ago)
- Topics: django, django-rest-framework, game, in-progress, pygame, python3
- Language: Python
- Homepage:
- Size: 347 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bingo Game

[](https://github.com/psf/black)

## About this project
Bingo is a game of chance in which players have a card with numbers on it. As the numbers are drawn, the participants complete their cards: the first to do so is the winner.
This project uses a desktop application made with Pygame that allows the generation of ballots. It also has an API made in Django that allows you to save the data generated in each game.
### How to use:
```
1. Clone repository
2. python -m venv env
3. source env/bin/active
4. pip install requirements.txt
5. python manage.py makemigrations
6. python manage.py migrate
7. python bingo-api/ApiBingo/manage.py runserver
```
### Run Balot Generator
```
python ./Project-Bingo/start.py --speaker='GTTS' --delay=5
```
| Parameter | Description |
| --------------------- | ------------------------------------------------------------------------------------ |
| --speaker | The library or software that you want to use for sound output (Default **'GTTS'**) |
| --delay | Waiting time to say another ballot (Default **5** seconds) |
### Tests
```
cd Project-Bingo
coverage run --source=. -m unittest discover -v -s tests/ -p "*_test.py"
```
### Things that were implemented:
- Pygame
- Multi-Theading
- CI - GitHub Actions
- Testing
- Code style