Inspiration

The original concept is based on the Solitaire card game, which comes bundled with most Windows operating systems, and modern deckbuilding videogames where cards are used to fight against enemies.

What it does

The game is split into two phases: The initial phase involves looking through your deck and playing cards onto the board similarly to a game of Solitaire; face cards are played at the top, and number cards below them. The attack phase allows you to stack your face cards on top of enemies to attack them. When the attack phase ends, remaining enemies will attack their lanes and deal damage to your face cards, or damage the player if none are left in the lane. Upon winning a round, the player can choose a new card and then repeats the process against increasingly strong enemies.

How we built it

We used the Unity game engine and coded in C#.

Challenges we ran into

We struggled to get cards to snap into their lanes correctly, especially the number cards. The concept of having cards stacked on top of each other was hard to realize and we were still in the process of figuring this out at the time of submission.

Accomplishments that we're proud of

We built a simplified version of Solitaire from scratch, without tutorials

  • Face cards successfully keep track of their own health/damage
  • HP bar keeps track of the player's health
  • Win/loss screen that forms the basic gameplay loop
  • Deck functionality: Cards can be drawn into the hand and then played on the board
  • All assets are handmade, both visuals and coding-wise

What we learned

We've did a lot of work with the Queue data structure in C# to implement the card deck, since queue allows for adding from the end and removing from the front, like drawing cards from the top of a deck in real life. We also spent a lot of time on the logic of communicating between objects, given the way cards are supposed to be ordered in a lane (Face cards should be leading, and number cards should increase the stats of their attached face card).

What's next for Solitair?

We plan on fixing some large bugs, and if we were to continue developing the game, we would add more enemy types to make for a more interesting gameplay loop.

Built With

Share this project:

Updates