Here are some graphics examples using CMake and Qt.
Follow the instructions to install a recent version of Qt6, I was using 6.7.3 at the time of writing.
https://doc.qt.io/qt-6/get-and-install-qt.html
Follow the instructions to install CMake, a cross-platform tool for building C++ programs.
make build-cppThere are a few executables you can run:
Example C++ implementation of Sanke using the state and reducer pattern.
make run-snakeExample C++ implementation of Tic-Tac-Toe using the state and reducer pattern. Inspired by the React tutorial here:
https://react.dev/learn/tutorial-tic-tac-toe
make run-tic-tac-toeSimple ASCII art showing randomized colors and letters. Inspired by (but nowhere as good as): https://ertdfgcvb.xyz/
make run-ascii-playBased on code examples from:
https://duriansoftware.com/joe/an-intro-to-modern-opengl https://github.com/jckarter/hello-gl
make run-hello-glSimple rotating cube example:
make run-cube-gl