Created
April 22, 2015 06:42
-
-
Save TsukishirOSan/530fddb4a73c9989fe2f to your computer and use it in GitHub Desktop.
header file , contains prototype(s)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changes randomly the velocity of the object ball each time there is a collision