JKobyP / c-projects

Miscellaneous Projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

c-projects

Here lie some old games. If you can make use of them, feel free to use them without giving me any credit.

Currently, there are two tile-based games - Conway's Game of Life, and Snake. Both were implemented as a way to learn c.


Dependencies

Both games require SDL2 to run. Install it from your favorite package manager.

Usage

Both of these games expect sdlgrid.c and sdlgrid.h to be in the parent directory. If you move around the directory tree, then it's on you to change the makefile.

To play Snake

cd Snake
make
./bin/snake.o

To "play" Conway's Game of Life

cd ConwayGOL
make
./bin/conwaygol.o

About

Miscellaneous Projects


Languages

Language:C 98.2%Language:Makefile 1.8%