A downloadable game

As part of an in class assignment to test our knowledge on importing a DLL and using their functions. The C++ library was written by our professor and given to us to implement in a new Unity project. Additional functionality was written in both the C++ library and in C# script. The goal was to hook up the DLL in order to use stored functions to help create a Snake game. 

Snake Game
- Player starts in bottom left, waiting for movement input from the player. Once moving, the player can change the snake's movement direction by using the WASD keys or Arrow keys. 
- When the snake collects an apple, the snake's body will grow and it's movement speed increases. 
- When the snake collides with the game border, it will come through the opposite border. 
- When the snake hits it's max body size of 10, apples will stop spawning.  The player wins!
- The player can use Spacebar to reset the game and continue playing,
- If the snake crashes into it's body, it's movement freezes and the game is over!

Download

Download
SnakeDLL.zip 21 MB

Install instructions

Once the zip file has been extracted, just run the Snake.exe file in the SnakeDLL folder.

Leave a comment

Log in with itch.io to leave a comment.