https://github.com/alecxcode/3inarow
A Match 3 Lua Game
https://github.com/alecxcode/3inarow
3-in-a-row algorithms game game-development games lua match-3
Last synced: 3 months ago
JSON representation
A Match 3 Lua Game
- Host: GitHub
- URL: https://github.com/alecxcode/3inarow
- Owner: alecxcode
- License: mit
- Created: 2023-05-19T16:39:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-19T16:41:13.000Z (about 2 years ago)
- Last Synced: 2025-01-28T19:20:07.689Z (5 months ago)
- Topics: 3-in-a-row, algorithms, game, game-development, games, lua, match-3
- Language: Lua
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
# 3 in a Row Game
This is a simple Lua game example to demonstrate algorythms implementation.
The game is related to the type of *match 3*. The purpose of gameplay is to place 3 or more equal elements (they are known in this game as **crystals**) in a row or a column.
To do this, the player can make a move of a crystal by one cell left, right, up, or down.
Only those moves that create 3 in a row (column) matches are allowed.To play the game use Lua interpreter; run: `lua main.lua`
Please read the comments in source code for more info.