An open API service indexing awesome lists of open source software.

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

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.