An open API service indexing awesome lists of open source software.

https://github.com/redinfinitypro/cardgame_python

The code defines CardRarity and Standard_Cards classes, imports MainMenu and CardDeck libraries, and uses a pygame library for a card game with 104 cards, bonus, cursed, and bug fixes.
https://github.com/redinfinitypro/cardgame_python

io math os pygame random requests sys time

Last synced: 17 days ago
JSON representation

The code defines CardRarity and Standard_Cards classes, imports MainMenu and CardDeck libraries, and uses a pygame library for a card game with 104 cards, bonus, cursed, and bug fixes.

Awesome Lists containing this project

README

          

# CardGame_Python
The code defines CardRarity and Standard_Cards classes, imports MainMenu and CardDeck libraries, and uses a pygame library for a card game with 104 cards, bonus, cursed, and bug fixes.

![pygame](https://badge.fury.io/py/pygame.svg)
![random](https://badge.fury.io/py/random.svg)
![sys](https://badge.fury.io/py/sys.svg)
![time](https://badge.fury.io/py/time.svg)
![os](https://badge.fury.io/py/os.svg)
![pygame_menu](https://badge.fury.io/py/pygame_menu.svg)
![math](https://badge.fury.io/py/math.svg)
![requests](https://badge.fury.io/py/requests.svg)
![io](https://badge.fury.io/py/io.svg)

## Table Of Contents
- Description
- Contributing
- Project Structure

## 📖 Description
This code defines a class called CardRarity, which calculates card appearance probability, and a class called Standard_Cards, which manages card types. It imports files from MainMenu and CardDeck libraries, and uses a pygame library to manage the application. The code also includes functions like draw_Icon_and_Number and draw_words. The game includes a deck of 104 cards, bonus cards, cursed cards, and bug fixes.

## 🤝 Contributing
1. Fork the Repository
- Click on the Fork button at the top right corner of the repository page to create your own fork of the repository.
2. Create a Pull Request
- Navigate to the original repository and create a pull request to merge your changes into the main branch.

## 📂 Project Structure
- 📂 Assets
- 📂 plan
- 📄 work.txt
- 📷 cardBack.png
- 📷 cardFront.png
- 📂 CardDeck
- 📄 cardAssets.py
- 📄 cardFile.py
- 📂 Container
- 📄 __init__.py
- 📄 imports_library.py
- 📂 MainMenu
- 📄 baseFile.py
- 📄 menuFile.py
- 📄 pauseFile.py
- 📄 README.md
- 📄 main.py
- 📄 test 1.py