Skip to content

yatima1460/Match3

Repository files navigation

Match 3

Action Linux Windows MacOS
build Actions Status Actions Status Actions Status
cppcheck Actions Status N/A Actions Status
test Actions Status Actions Status Actions Status

Game demo with SDL2, C++11 with functional programming

demo gif

Build Instructions

Linux

Prerequisites

  1. git clone https://github.com/yatima1460/Match3.git
  2. sudo apt install build-essential cmake libsdl2-dev libsdl2-ttf-dev

Compile

  1. mkdir build && cd build && cmake ..
  2. make -C build -j

Run

  1. ./build/Match3

Windows

Visual C++ 32/64-bit

  • Opening it in latest Visual Studio versions supporting CMake or VSCode should work
  • All binaries necessary are in Vendor and the CMake file will load them instead of searching system-wide libraries

MinGW

Not supported yet

MacOS

  1. brew install sdl2 sdl2_ttf
  2. mkdir build && cd build && cmake ..
  3. make -C build -j

TODO

  • Falling animation tied to delta time
  • Smooth swapping animation
  • Smooth destroyed animation
  • Remove ugly static structs like AssetManager and Settings
  • Add pure compiler-specific keywords around
  • Some type of logging
  • Sound
  • Google Test
  • Clang build too
  • MessageBoxes for code errors
  • Load game data from json files and replace Settings.ini too?
  • Android build?
  • Better rendering abstraction: add other backends like OpenGL, DirectX, Vulkan?
  • Score?

Credits

License doesn't apply to assets

About

Game demo with SDL2, C++11 with as much as functional programming as possible

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published