Skip to content

Desktop version of 2048, made using C++ and SFML

Notifications You must be signed in to change notification settings

k-o-white/2048_SFML

Repository files navigation

2048 Game

Win Lose

This is my implementation of 2048 (Click to play original), that was made in C++ using SFML library

How to build and run

First you need C++17 compliant compiler and CMake build system

  • Clone this repository to your PC:
    git clone https://github.com/k-o-white/2048_SFML.git
    and then go to folder
    cd 2048_SFML
  • Create folder for building app and go to it:
    mkdir build
    cd build
  • Input commands:
    cmake -G "MinGW Makefiles" ..
    mingw32-make
  • Run 2048_SFML.exe:
    start 2048_SFML.exe

Control

  • Arrow keys or WASD - moving tiles
  • Space - restart
  • Y - continue/restart, if you achieved 2048/lost
  • N - quit game, if you achieved 2048 or lost

About

Desktop version of 2048, made using C++ and SFML

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published