how to make a game jump bird in c