Created
April 15, 2012 04:52
-
-
Save mudhairless/2390138 to your computer and use it in GitHub Desktop.
This file contains 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
screenres 640,480,32 | |
'magic numbers | |
const frog_speed as integer = 32 | |
const car_log_sp as integer = 2 | |
'toggle between east and west directions | |
#define dtoggle(d) ((d) xor 2 ) | |
enum direction explicit | |
north =0 | |
east | |
south | |
west | |
end enum | |
#define FROG_DEAD 4 | |
#define FROG_WIN 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment