# Card Game: Sprites behaving in satisfying, unintentional ways

**URL:** <https://forum.makecode.com/t/card-game-sprites-behaving-in-satisfying-unintentional-ways/20445>\
**Category:** Help\
**Created:** [June 6, 2023, 8:57pm UTC](https://forum.makecode.com/t/card-game-sprites-behaving-in-satisfying-unintentional-ways/20445 "2023-06-06T20:57:01Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [July 28, 2023, 4:49pm UTC](https://forum.makecode.com/t/card-game-sprites-behaving-in-satisfying-unintentional-ways/20445/10 "2023-07-28T16:49:00Z")

</div>

> **[Card Game v0-7 - Copy](https://arcade.makecode.com/15199-57521-20676-94399)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

New Update!

- Added randomly generated maps (press menu to open; up and down to control)
- Mock up of how the battles will look
- Nicer looking rotation of cards (sprite scaling extension is better than sprite transformations)
- Need help with the cards being added and removed from hand

There are 3 arrays that handle the cards at any given time

- CardDrawPile has most of the cards
- CardInfo is basically your current hand
- DiscardPile is where cards go after being played and gets shuffled into the CardDrawPile when it’s empty.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/9cf44b557472a1aee9b7433aaf16968727ad419a.png)

---

_[View the full topic](https://forum.makecode.com/t/card-game-sprites-behaving-in-satisfying-unintentional-ways/20445)._
