A popular puzzle game written in SwiftUI
About
Line is a popular puzzle game that was introduced in many years ago. The game features a simple interface, consisting of a 9×9 grid of empty squares.
The objective of Line is to arrange same-colored balls into horizontal, vertical, or diagonal lines to make them disappear and earn points. When balls vanish, the empty spaces are filled with new balls.
Players can only move one ball at a time with a single touch. The ball will move in a straight line until it encounters an obstacle or reaches the edge of the grid. If there are at least 5 same-colored balls adjacent to each other in a horizontal, vertical, or diagonal formation, they will vanish, and the player will be awarded points.
Implementation
This game has been implemented with SwiftUI & SpriteKit, using TCA version 0.54.0.
Dependencies
Author
tiennv166, tiennv166@gmail.com