Skip to content

lowderdev/learnc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toy Projects for Learning C

Snake

To build you'll need gcc and sdl2 installed.

brew install sdl2
bin/build-snake
# run the game
out/snake

Control the snake with the arrow keys.

Snake

Game of Life

Build and run:

bin/build-gameOfLife && out/gameOfLife

Controls:

  • Up arrow: Increase speed
  • Down arrow: Decrease speed
  • P: Pause
  • R: Reset

Game of Life

About

Learning C by building toy projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published