Snake game in C++ and JavaScript Snake Game using vector and linked list and arrays
Linked List Implementation
- Snake-LinkedList.cpp: implementation using linked list-Code.
- Runs effeciently on Windows and Linux
- Compilation Command: g++ Snake-LinkedList.cpp -o Snake-LinkedList
- Run: ./Snake-LinkedList
- Also has Pause and Resume Feature OR YOU CAN DIRECTLY RUN BY DOWNLOADING THE Snake-LinkedList.exe file(on windows only).
Vector Implementation
- Snake-Vector.cpp: implementation using Vector-Code.
- Runs effeciently on Windows and Linux
- Compilation Command: g++ Snake-Vector.cpp -o Snake-Vector
- Run: ./Snake-Vector
- Also has Pause and Resume Feature OR YOU CAN DIRECTLY RUN BY DOWNLOADING THE Snake-Vector.exe file(on windows only).
JavaScript Implementation
- Snake.html and Snake2.html : implementation using arrays.
- Runs effeciently on any OS. Only requirement is Web Browser.
- Directly download the html file and run on your browser.
- Pause and Resume feature to be added in later versions
Have a Great Day!!!!