Skip to content

A fun little C# console app I built while learning the language. Instead of scraping weather data (because that’s boring), it fetches tarot card data from the TarotAPI, shuffles a virtual deck, and shows each card’s upright or reversed meaning. A neat way to practice async/await, HttpClient, JSON, and some basic OOP.

Notifications You must be signed in to change notification settings

emcee786/Tarot_Console_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tarot Card Reader

A simple C# console application built while learning the language. The program fetches tarot card data from TarotAPI, shuffles a virtual deck, and displays upright or reversed meanings for drawn cards. ✨ Features

Fetches card data dynamically from TarotAPI

Shuffles a virtual tarot deck

Draws one or more cards

Displays upright or reversed card meanings

Demonstrates async/await, HttpClient, JSON deserialization, and OOP in C#

🛠 Prerequisites

.NET 6 or later installed

🚀 How to Run

Clone the repository:

git clone https://github.com/your-username/tarot-card-reader.git cd tarot-card-reader

Build the project:

dotnet build

Run the program:

dotnet run

📂 Project Structure

TarotCardReader/ │ ├── Program.cs # Entry point of the app ├── Deck.cs # Manages the deck, shuffling, and drawing cards ├── Card.cs # Represents an individual tarot card ├── API.cs # DTO classes for parsing TarotAPI responses └── README.md

🎯 Purpose

This project was built as a learning exercise while exploring C#. It focuses on understanding asynchronous programming, API calls, and object-oriented design.

About

A fun little C# console app I built while learning the language. Instead of scraping weather data (because that’s boring), it fetches tarot card data from the TarotAPI, shuffles a virtual deck, and shows each card’s upright or reversed meaning. A neat way to practice async/await, HttpClient, JSON, and some basic OOP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages