Skip to content

Simple clone of classical match-3 game using olcPixelGameEngine.

Notifications You must be signed in to change notification settings

Bondoki/Match3-PGE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Match3-PGE

Simple clone of the common match3 genre using the olc::PixelGameEngine by Javidx9. It's just for fun and educational purpose. Feel free to modify, improve, and use it :) If you want to use the gem assets, feel free to use them in any creative way as I released them into public domain - acknowledgement is appreciated.

Installation

Just do for standard compilation on Linux (tested with gcc 8.2.1):

    # generates the application
    g++ -o Jewel mainJewels.cpp -lX11 -lGL -lpthread -lpng -lstdc++fs -std=c++17
    # run the application
    ./Jewel

Usage

Simply use the mouse to select a gem and another for switching gems. Try to create rows or coloumns with at least 3 similar colored gems or using anycolor gem.

Match3 Match3_Star

Special gems:

  • Bomb: 4 gems in consecutive order row/column Match4
  • Rainbow: 5 gems in consecutive order row/column Match5
  • Star (AnyColor gem): 7 different gems in consecutive order row/column Star
  • Color Heart (AnyColor bomb): 3 gems + star in consecutive order row/column Match4_Star
  • Color Rainbow: 4 gems + star/color heart in consecutive order row/column or 3+2stars Match5_Star

Effect:

  • Bomb: destroy 3x3 vicinity of bomb
  • Rainbow: destroy all gems of same color
  • Star: has every color for replacement
  • Color Heart: bomb with every color
  • Color Rainbow: destroys all gems as it has all colors

Random Drop:

  • Bomb: 1/64
  • Rainbow: 1/4096

Color Drop:

  • AnyColor: 1/64
  • Other: 63/64

ESC : quit

References, License, and Credits

The program is licensed under OLC-3 and acknowledge gratefully the following libraries and refer to the appropriate licenses

Acknowledgement

Heavily inspired by the Match3 example in the 50K Live code party of Javidx9 giving the idea for this.
For the original source with olcConsoleGameEngine please see: 50K Live code party source code.

About

Simple clone of classical match-3 game using olcPixelGameEngine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages