g
This commit is contained in:
		
							parent
							
								
									40685518fa
								
							
						
					
					
						commit
						55d738a03e
					
				
							
								
								
									
										10
									
								
								cv9/snake.c
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								cv9/snake.c
									
									
									
									
									
								
							@ -1,12 +1,8 @@
 | 
				
			|||||||
#include "world.h"
 | 
					#include <stdio.h>
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
#include <curses.h>
 | 
					 | 
				
			||||||
#include <stdlib.h>
 | 
					 | 
				
			||||||
#include <string.h>
 | 
					 | 
				
			||||||
#include "snake.h"
 | 
					#include "snake.h"
 | 
				
			||||||
#include "main.c"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct Snake {
 | 
					/*typedef struct Snake {
 | 
				
			||||||
    int x;
 | 
					    int x;
 | 
				
			||||||
    int y;
 | 
					    int y;
 | 
				
			||||||
    struct Snake *next;
 | 
					    struct Snake *next;
 | 
				
			||||||
@ -21,7 +17,7 @@ typedef struct State {
 | 
				
			|||||||
    int width;
 | 
					    int width;
 | 
				
			||||||
    int speedX;
 | 
					    int speedX;
 | 
				
			||||||
    int speedY;
 | 
					    int speedY;
 | 
				
			||||||
} State;
 | 
					} State;*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*enum endgame {
 | 
					/*enum endgame {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user