Clickable Minesweeper Game — 可以點的踩地雷

I discovered that using Ansi-escape can do cool things on the terminal, so I wrote an easy minesweeping game that outputs colorful numbers and stuff. I was pretty satisfied with the result. I no longer need to torture my eyes, staring at the black-and-white terminal output for debugging. Colorful Minesweeper Here are the types of cells: ‘#’ cell, anything can be under it. Mind your step! Number cells, just like...

February 13, 2023 · 2 min