Add "Snake" game example

This commit is contained in:
Dylam De La Torre authored and Ryan C. Gordon committed 2024-07-30 13:26:01 -04:00
1 parent 69a2d7960c
commit dbb4e05c28
4 files changed
+367

No files matched your search

+1
View File
@@ -186,6 +186,7 @@ add_sdl_example_executable(renderer-primitives SOURCES renderer/02-primitives/re
add_sdl_example_executable(audio-simple-playback SOURCES audio/01-simple-playback/simple-playback.c)
add_sdl_example_executable(audio-simple-playback-callback SOURCES audio/02-simple-playback-callback/simple-playback-callback.c)
add_sdl_example_executable(audio-load-wav SOURCES audio/03-load-wav/load-wav.c DATAFILES ${CMAKE_CURRENT_SOURCE_DIR}/../test/sample.wav)
add_sdl_example_executable(snake SOURCES game/01-snake/main.c game/01-snake/snake.c)
if(PSP)