https://github.com/polyfloyd/procsweeper
Minesweeper for your /proc
https://github.com/polyfloyd/procsweeper
Last synced: about 1 year ago
JSON representation
Minesweeper for your /proc
- Host: GitHub
- URL: https://github.com/polyfloyd/procsweeper
- Owner: polyfloyd
- License: mit
- Created: 2014-09-27T16:11:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-07-09T19:28:38.000Z (almost 9 years ago)
- Last Synced: 2025-02-04T23:17:49.077Z (over 1 year ago)
- Language: C
- Size: 25.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ProcSweeper
===========
ProcSweeper is a minesweeper-like game. The difference being that when you hit
a mine, ProcSweeper will pick a random process from your computer and kill it.
By default, only processes running as the executing user will be selected.

## Playing
Use the HJKL keys to move around. Use the X key to clear a tile. You can flag a
tile using the F key.
## Building
ProcSweeper requires ncurses5 and libprocps3.
```sh
sudo apt-get install libncurses5-dev libprocps3-dev
make
```
## Options
* -s | --system
Pick any proces on the system. Requires root.
* -h | --hardcore
Only kill PID 1 (init). Requires root.
* -k | --sigkill
Use `SIGKILL` instead of `SIGINT`
* -t | --test
ProcSweeper won't actually signal a process when you hit a mine.
## TODO
* Victory condition
* Adjustable minecount
* Adjustable fieldsize
* Show remaining mines
## License
MIT