Skip to content

Instantly share code, notes, and snippets.

@TsukishirOSan
Created April 22, 2015 06:42
Show Gist options
  • Select an option

  • Save TsukishirOSan/530fddb4a73c9989fe2f to your computer and use it in GitHub Desktop.

Select an option

Save TsukishirOSan/530fddb4a73c9989fe2f to your computer and use it in GitHub Desktop.
header file , contains prototype(s)
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
/** prototypes **/
/** takes either the x velocity or the y velocity and return randomly an integer from a const array of ints which is x
*** or returns randomly only positive integers from the array of int as y
**/
int randVlo(char v);
@TsukishirOSan
Copy link
Copy Markdown
Author

Changes randomly the velocity of the object ball each time there is a collision

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment