Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/typicalam/mines
Mines game in raylib-go
https://github.com/typicalam/mines
game-development golang raylib-go
Last synced: about 2 months ago
JSON representation
Mines game in raylib-go
- Host: GitHub
- URL: https://github.com/typicalam/mines
- Owner: TypicalAM
- Created: 2022-10-26T21:30:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T11:35:26.000Z (over 1 year ago)
- Last Synced: 2024-04-19T21:05:59.492Z (8 months ago)
- Topics: game-development, golang, raylib-go
- Language: Go
- Homepage:
- Size: 2.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 💣 Mines
👋 Hi! This is a small mines game written in golang. It uses a go port for a game library called [raylib-go](https://github.com/gen2brain/raylib-go). I created it to try out game development and **learn a new language** in the process! I also remade some of the features from [raygui](https://github.com/raysan5/raygui) to make the creating GUI widgets much **easier** and more **customizable**.
## 🧐 What are the features?
This mines game allows you to:
- Play mines! (obviously)
- Create your own board configurations
- Use and create **custom themes**!
- Make it to the scoreboard and try to get the best time on your favorite mines board## ✨ Downloading
### Releases
You can download a fresh copy of `mines` on our [releases](https://github.com/TypicalAM/mines/releases) page. The game is built both on windows and on linux. Open the executable and you're good to *go*!
### Development
Clone the repository:
```
git clone https://github.com/TypicalAM/mines && cd mines
```Compile for linux:
```
go run main.go
```If the compilation fails, then install the dependencies for [raylib-go](https://github.com/gen2brain/raylib-go) because to include the library you have to generate the `cgo` definitions for the raylib C library. For cross compiling to windows from linux you can use the following command
```
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=/bin/x86_64-w64-mingw32-gcc go build -o mines.exe main.go
```## 📸 Product images