Skip to content

Instantly share code, notes, and snippets.

@insassiable
insassiable / main.cpp
Created October 11, 2024 10:36
Либиринт
#include <windows.h>
#include <iostream>
#include <conio.h>
using namespace std;
enum Objects { HALL, WALL, COIN, ENEMY, MKIT, COFFEE, BOSS };
enum Keycodes { DOWN = 80, UP = 72, LEFT = 75, RIGHT = 77, ENTER = 13, ESCAPE = 27, BACKSPACE = 8, SPACEBAR = 32 };
enum Colors { BLACK, DARKBLUE, DARKGREEN, DARKCYAN, DARKRED, BROWN = 4, DARKMAGENTA, DARKPINK = 5, DARKYELLOW, GREY, GRAY = 7, DARKGREY, BLUE, GREEN, CYAN, RED, PINK, YELLOW, WHITE };
int main()