Tetris iOS Game

Personal Project

tetris app icon

Tools used: Swift, SpriteKit, XCode

Links:

tetris demo

In August 2020 during my summer break, I decided to make a quick iOS project. At first I followed a tutorial on how to create a simple iOS application that created a interactive UI using the Storyboard maker on XCode.

This is my first iOS Project application, it took me a weekend to finish. I decided Tetris was a good idea for a project since Swift is primarily an Object Oriented Programming language. Tetris has many shapes, and each shape can have many different attributes to it. This gave me the perfect opportunity to create a Shape super class and create a subclass for each different falling shape.

Using SpriteKit was like drawing in a canvas tag in Javascript. Creating exploding animations for the collapsing lines was the hardest part of the project, it took a few searches on Google for me to figure out how to create a fun explosion!