Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <iomanip>
#include <windows.h>
#include <cstdlib>
#include <ctime>
#include <algorithm>
using namespace std;
//1) Від 1 до n.
#include <windows.h>
#include <iostream>
#include <conio.h>
using namespace std;
const int WIDTH = 45;
const int HEIGHT = 15;
enum maze_objects { HALL, WALL, COIN, ENEMY, APTEKA };
#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <ctime>
#include <conio.h>
using namespace std;
enum direction { DOWN = 80, UP = 72, LEFT = 75, RIGHT = 77 };