Skip to content

Commit

Permalink
Fix cobra mouse trap, update README (#155)
Browse files Browse the repository at this point in the history
* disable cobra mouse trap, which prevented start from Windows Explorer
* update README for precompiled binaries
  • Loading branch information
mlange-42 authored Mar 10, 2024
1 parent 7134a0a commit f1d804e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,22 @@ Made with [Ebitengine](https://github.com/hajimehoshi/ebiten) and the [Arche](ht

You can play Tiny World in a web browser [here](https://mlange-42.github.io/tiny-world/) or [on itch.io](https://mlange-42.itch.io/tiny-world).

### Play locally
### Precompiled binaries

Until there is a first official release, you need to clone the repository and run the game with [Go](https://go.dev):
You can download precompiled binaries for Linux and Windows from the [Releases](https://github.com/mlange-42/tiny-world/releases).

### Build from source

Clone the repository and build or run the game with [Go](https://go.dev):

```shell
git clone https://github.com/mlange-42/tiny-world.git
cd tiny-world
go run .
```

For building on Unix systems, `libgl1-mesa-dev` and `xorg-dev` are required.

## Playing

In the toolbar on the right, the top items are **buildings** that can be bought by the player for resources.
Expand Down
1 change: 1 addition & 0 deletions game/run_nowasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
)

func run(g *Game, name string, load bool) {
cobra.MousetrapHelpText = ""
if err := command(g, name, load).Execute(); err != nil {
fmt.Printf("ERROR: %s\n", err.Error())
os.Exit(1)
Expand Down

0 comments on commit f1d804e

Please sign in to comment.