A simple game of snakes implemented in OpenCV and C++.
These instructions will get you a copy of the project up and running on your local machine for development purposes.
More information can be found in the README-developers.txt file.
- OpenCV needs to be installed on the System. For installing OpenCV 2
- Open Terminal on Ubuntu
- Type following codes
sudo apt update
sudo apt install libopencv-dev python-opencv
or if you wish to install OpenCV 3 follow the guide.
- Install C++ (GCC recommended).
To compile the program use
make
The compiled file snakes can be found in bin directory.
To execute the compiled file use
./bin/snakes
Or it can be executed from the bin directory ./snakes
.
Well, I had made this game before I came across version control, I guess in October 2016.
Hence, commit history starts pretty late.