alexandriaa bb0b2629bd Enhance GameView with Drag-and-Drop Functionality for Player and Artifact Slots
- Implemented drag-and-drop support for player creature slots, allowing players to move cards into designated slots.
- Added spell casting functionality when dropping spell cards on player creature slots or artifact slots.
- Introduced logging for drag-and-drop actions to aid in debugging and tracking card movements.
- Enhanced visual feedback during drag-and-drop operations with background color changes for valid drop targets.
- Updated GameView.xaml.cs to handle mouse events for player slots, artifact slots, and spell cards.
- Improved card zoom functionality with a dedicated overlay for better user experience.
- Modified assembly information and updated binary files for the NewGame.UI project.
2026-04-07 03:14:35 -04:00
2026-04-05 22:58:48 -04:00

Magical Deckbuilder

A WPF card game where you combine cards, build decks, and battle opponents.

Features

  • Card Combining: Merge blank cards with elements to create unique cards
  • Deck Building: Build custom decks from your card collection
  • Battle System: Turn-based combat against AI opponents
  • 8 Card Types: Spell, Creature, Artifact, Enchantment, Weapon, Armor, Event, Blank
  • 8 Elements: Radioactivity, Flesh, Toxin, Fungus, Thermodynamics, Time, Food, Eldritch
  • Rarity System: Common, Uncommon, Rare, and Legendary cards

Project Structure

MagicalDeckbuilder.Shared/    # Core game library
  Cards/          - Card classes and types
  Decks/          - Deck management
  Game/           - Game logic, CardFactory, OpponentAI
  Combining/      - Card combining system
  Logging/        - Error logging

NewGame.UI/                  # WPF application
  Views/          - MenuView, GameView, BattleSelectView, etc.
  ViewModels/     - MVVM ViewModels
  Controls/       - Custom UI controls
  Converters/     - Value converters
  Styles/         - XAML styles and themes

Building

dotnet build

Running

dotnet run --project NewGame.UI

Requirements

  • .NET 9.0
  • Windows
S
Description
No description provided
Readme
4.3 MiB
Languages
C# 99.8%
PowerShell 0.2%