https://github.com/pdevine/unibombitron
Bombitron, but unicode style
https://github.com/pdevine/unibombitron
docker docker-image game kubernetes minesweeper
Last synced: about 2 months ago
JSON representation
Bombitron, but unicode style
- Host: GitHub
- URL: https://github.com/pdevine/unibombitron
- Owner: pdevine
- Created: 2021-05-24T03:24:39.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-19T01:03:07.000Z (over 4 years ago)
- Last Synced: 2025-03-28T08:30:49.973Z (about 1 year ago)
- Topics: docker, docker-image, game, kubernetes, minesweeper
- Language: Go
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Uni-bombitron
[](https://github.com/pdevine/unibombitron/actions/workflows/main.yml)
A Minesweeper clone, built to work in your terminal.


Run on kubernetes:
`kubectl run -it --rm --image=ghcr.io/pdevine/bombitron bombitron`
Run on docker:
`docker run -it --rm ghcr.io/pdevine/bombitron`
You can size the playing field by re-sizing your terminal. The `Easy`, `Medium`, and `Hard` variants
use the same bomb ratios as the classic Microsoft Windows 95 and Windows XP versions.
## Building the image manually
### Building in Kubernetes
Use [BuildKit CLI for Kubectl](https://github.com/vmware-tanzu/buildkit-cli-for-kubectl) with the command:
`kubectl build -t bombitron ./`
or, you can build a multi-arch image which cross-compiles for each platform. You'll need to create a registry secret
in kubernetes and push to a registry to make this work correctly.
```
read -s REG_SECRET
kubectl create secret docker-registry mysecret --docker-server='someregistry.io' --docker-username=tifdog --docker-password=$REG_SECRET
kubectl build ./ -t someregistry.io/stuff/bombitron:latest -f Dockerfile.cross --registry-secret my-secret --platform=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,windows/amd64 --push
```
### Building in Docker
To build a single image in Linux:
`docker build -t bombitron ./`
## Acknowledgements
* Animated with [Go-AsciiSprite](https://github.com/pdevine/go-asciisprite)
## FAQ
Q: Why does this look like crap on my Mac?
A: Use iTerm2 instead of macOS's built-in Terminal app. Terminal screws up all of the line spacing.