An ASCII implementation of Snake within C and Minesweeper within C#. All within your very own console!
This project uses <windows.h>, so it is only compatible with Windows OS.
A simple while loop with a sleep statment at the end of the logic moves the screen,
while ANSII escape codes handle "refreshing" the screen.
The program uses the Windows function GetAsyncKeyState to get keypresses that occured while the program was still refreshing.
Make sure you have ninja, cmake, and a C compiler.
Then run these commands:
make snake-reset
make snake-runASCII-Snake uses classic WASD controls.
Minesweeper game within terminal with ASCII characters
You play by inputting with m and then the coordinates of the square you wish to click to mark it with a flag or just type the coordinates of the square to click it.
To run the program, run make ms-run.
