attempt at a game in c/sdl