Skip to content

Instantly share code, notes, and snippets.

View dedane's full-sized avatar
🎯
Focusing

dedane

🎯
Focusing
  • happyFingers
  • Nairobi, Kenya
View GitHub Profile
#include <iostream>
#include <conio.h>
#include <windows.h>
using namespace std;
bool gameOver;
const int width = 20;
const int height = 20;
int x, y, fruitX, fruitY, score;
int tailX[100], tailY[100];
int nTail;