Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- typedef struct {
- int x;
- int y;
- } coord;
- typedef struct {
- int length; //Länge der Schlange
- coord direction; // (1,0) means go to right
- coord segments[]; //Positionen der Segmente
- } snake;
- int main(void){
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement