Skip to content

The classic line game written in SwiftUI, SpriteKit & TCA.

Notifications You must be signed in to change notification settings

tiennv166/TCA-Line-Game

Repository files navigation

About

Line is a popular puzzle game that was introduced in many years ago. The game features a simple interface, consisting of a 9x9 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.

Record

Implementation

This game has been implemented with SwiftUI & SpriteKit, using TCA version 1.1.0.

Game.swift

Settings.swift

Dependencies

Author

tiennv166, tiennv166@gmail.com

About

The classic line game written in SwiftUI, SpriteKit & TCA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages