SkillAgentSearch skills...

SnakeGame

Simple Snake game made in C++ with the SDL2 and EnTT libraries.

Install / Use

/learn @masonrg/SnakeGame
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Snake with EnTT

Snake game made in C++ with the SDL2 and EnTT libraries.

snake_gameplay

Details

This project was created in order to gain experience with C++ programming and to learn how to use the Entity Component System aspect of the EnTT library. The project was created for educational purposes, and so the code and structure might leave a bit to be desired. Being new to C++, I hope I didn't break too many conventions or do anything too unusual.

In any case, I hope this project might serve as a useful resource to others who are perhaps new to c++ and entt, as I was when creating it.

External Libraries

SDL2

The SDL2 library is used for rendering as well as input and event handling.

SDL2_image

The SDL2 Image library is used for reading image files such as jpg or png.

SDL2_ttf

The SDL2 TTF library is used for reading .ttf files and generating textures from text.

EnTT

The EnTT library provides an Enitity Component System (ECS) that is the primary driver of gameplay and is the focus of the project.

View on GitHub
GitHub Stars24
CategoryDevelopment
Updated3mo ago
Forks5

Languages

C++

Security Score

87/100

Audited on Dec 28, 2025

No findings