
Final Commit
Dependencies: mbed
Diff: main.cpp
- Revision:
- 16:85ca9feccf3f
- Parent:
- 14:c3a435597196
- Child:
- 18:406fc298a7c4
--- a/main.cpp Thu Apr 12 12:41:05 2018 +0000 +++ b/main.cpp Wed Apr 18 10:38:10 2018 +0000 @@ -53,35 +53,10 @@ snake_engine.get_input(pad); snake_engine.update(pad); render(); - wait(0.2); + + wait(0.3); - - - - /* - if(test1.update_snake_test(W, E)) { - - printf("Passed direction test1 \n"); - - } - else { - - printf("Failed direction test \n"); - - } - - if(test1.position_test(E, N)) { - - printf("Passed position test1 \n"); - - } - else { - - printf("Failed position test \n"); - - } - */ - } + } } // initialies all classes and libraries @@ -106,7 +81,8 @@ } -void start_menu() { +void start_menu() +{ // brings up start menu, levels, scores