GithubHelp home page GithubHelp logo

match3-pge's Introduction

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.

match3-pge's People

Contributors

bondoki avatar

Watchers

 avatar  avatar

match3-pge's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.