Advertisement
Guest User

Untitled

a guest
Jan 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. typedef struct {
  4.         int x;
  5.         int y;
  6. } coord;
  7.  
  8. typedef struct {
  9.         int length; //Länge der Schlange
  10.         coord direction; // (1,0) means go to right
  11.         coord segments[]; //Positionen der Segmente
  12. } snake;
  13.  
  14. int main(void){
  15.         return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement