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.
- Host: GitHub
- URL: https://github.com/redinfinitypro/cardgame_python
- Owner: RedInfinityPro
- Created: 2025-06-18T14:30:09.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-07-18T16:54:46.000Z (about 1 year ago)
- Last Synced: 2026-07-16T12:28:22.259Z (24 days ago)
- Topics: io, math, os, pygame, random, requests, sys, time
- Language: Python
- Homepage:
- Size: 297 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.









## 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