Skip to content

Latest commit

 

History

History
executable file
·
38 lines (30 loc) · 1.09 KB

README.md

File metadata and controls

executable file
·
38 lines (30 loc) · 1.09 KB

Snakes

Gitter chat

A simple game of snakes implemented in OpenCV and C++.

Getting Started

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.

Prerequisites

  • OpenCV needs to be installed on the System. For installing OpenCV 2
  1. Open Terminal on Ubuntu
  2. 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).

Compilation

To compile the program use

make

The compiled file snakes can be found in bin directory.

Execution

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.