project for 2035
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
snake.cpp
- Committer:
- kblake9
- Date:
- 2020-11-25
- Revision:
- 18:92431a28b46b
- Parent:
- 9:c9d6eda597b0
- Child:
- 22:33f1a0dff46c
File content as of revision 18:92431a28b46b:
// Copyright 2020 Georgia Tech. All rights reserved. // The materials provided by the instructor in this course are for // the use of the students currently enrolled in the course. // Copyrighted course materials may not be further disseminated. // This file must not be made publicly available anywhere. #include "snake.h" void snake_init (Snake * s) { s->length = 2; s->score = 0; s->locations[0].x = 50; s->locations[0].y = 50; s->locations[1].x = 40; s->locations[1].y = 40; }