Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.63 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.63 KB

snake-qt

A simple (less good looking) snake game written in C++20 & Qt6, tested under Linux.

The used modern C++ set of features isn't that large due to the project not really being that complicated...

Useful References

Here are some references (besides basic doc) I used for this mini project:

Building

Local dependencies

- GCC 13.0 / Clang 15.0
- CMake 2.24
- Qt6 6.4
- Boost 1.81 | for testing
- spdlog 1.11 | for minimal logging

Instructions

  • clone repo
cmake -G Ninja -D CMAKE_BUILD_TYPE=Release -S ./snake-qt -B ./snake-qt/build snake

cmake --build ./snake-qt/build --target snake -j 8
# "--target snake_unit_tests" for the Snake classes unit tests

./snake-qt/build/snake

Preview

Preview Picture - What a beauty!|400