Skip to content

Instantly share code, notes, and snippets.

View martytyty2098's full-sized avatar
📌

Martin martytyty2098

📌
View GitHub Profile
@martytyty2098
martytyty2098 / MY_OO_SNAKE_GAME.cpp
Created November 8, 2022 08:40
This is my Object Oriented snake game in C++
#include <iostream>
#include <string>
#include <conio.h>
#include <vector>
#include <chrono>
#include <thread>
#include <ctime>
/* this is default terminal window size, you can change it if you want,
but if these variables are not equal to the actual size of terminal window,