Animations add a nice touch to any application, if they’re used in suitable places and not overdone. But when you’re developing games, they are an absolute must!
Recently, I created a card memory game in Angular. I wanted to see how we can go about making a game and thought it would be something different from the usual enterprise apps built in the popular framework. Well, it was fun!
In this article, I’m going to explain how I created a card component used in the game which flips to reveal the front side when you tap it. We’re going to learn a bit about 3D in CSS coupled with angular animations so we can get the following desired effect!
Cool, right? Let’s start by creating our card component.
#animation #programming #javascript #game-development #angular