Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

guyllaumedemers/SDL2-Tetris

Repository files navigation

SDL2-Tetris

Learning sdl2 and CMake, Out-of-Source Build

Refactoring SDL2-GameDev/Tetris

Overview

SDL2-Tetris is a demo project built using Modern CMake. Project Optimization is under development, aim at reducing stack allocation and currently favor RValue Reference for Move semantics and LValue Reference for RValues literals and Heap allocated values.

Note : Assembly instructions call comparisons will be required to confirm the improvement of code efficiency. Compiler optimization level will be disable in a near future.

How to Run

To Run this project and generate MSVC solution, open powershell and run the following cmd from the project root directory.
.\config.cmd .\build.cmd .\run.cmd

Note : CMake setup expect proper ENV PATH setup on your machine.

💬 References for general c++ knowledge and optimization of physical desing are given from : C++ Programming Language, Large-Scale-Software-Design-John-Lakos
💬 References on CMake are given under : Modern CMake for C++, Mastering CMake

About

Learning sdl2 and CMake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages