Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Card Generator

The Random Card Generator is a Python project that generates random cards with a graphical interface. This project was created as part of my Computer Graphics class during my second year of college. It demonstrates the use of the Pygame library for rendering and interaction, along with the random module for card selection.

🃏 About the Project

This program dynamically generates random cards, showcasing how to handle graphical assets and randomness in Python. The project is a fun and interactive way to explore concepts like image rendering and event-driven programming.

🚀 Features

  • Random Card Selection: Draws a random card each time.
  • Graphical Interface: Uses Pygame for rendering cards.
  • Simple and Lightweight: Easy to set up and use.

🛠️ Technologies Used

  • Programming Language: Python
  • Libraries/Modules:
    • Pygame (for graphics and user interaction)
    • random (for random card generation)

📦 Installation and Setup

To run the Random Card Generator on your local machine, follow these steps:

  1. Clone the repository:

    git clone https://github.com/DaveTron4/Random-Card-Generator.git
    cd Random-Card-Generator
    
  2. Install the required dependencies: Ensure Python is installed, then install Pygame:

    pip install pygame
  3. Run the application:

    python main.py

🎓 Learning Outcome

This project helped me:

  • Understand how to work with graphical assets in Pygame.
  • Learn event-driven programming using Pygame's loop structure.
  • Implement randomization effectively using the random module.

🖼️ Screenshot

alt text alt text


📜 License

This project is open source and available under the MIT License.


🤝 Contributing

Feel free to fork this repository, submit issues, or suggest improvements! Contributions are always welcome.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages