https://github.com/bobbicodes/tsweep
ASCII minesweeper written in Clojure
https://github.com/bobbicodes/tsweep
clojure minesweeper terminal-game
Last synced: 3 months ago
JSON representation
ASCII minesweeper written in Clojure
- Host: GitHub
- URL: https://github.com/bobbicodes/tsweep
- Owner: bobbicodes
- Created: 2017-11-02T13:44:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T20:38:12.000Z (over 7 years ago)
- Last Synced: 2025-01-31T06:42:33.554Z (about 1 year ago)
- Topics: clojure, minesweeper, terminal-game
- Language: Clojure
- Homepage:
- Size: 3.3 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# To run:
```
~$ cd tsweep
~/tsweep$ lein run
```
## How it works:
A random set of integers is chosen to represent the mines, which are uncovered as they are stepped on to reveal the number of mines contained in the adjacent squares. The board's internal representation is dynamically generated based on a variable number of rows.
[](https://asciinema.org/a/177672)