-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
# GoGo | ||
Go game made in Go lang | ||
Go game made in Go language | ||
|
||
to build, run: | ||
## Play | ||
You can read the rules of Go on [wikipedia](https://en.wikipedia.org/wiki/Rules_of_Go). | ||
Simply click on a position of the Goban to place a stone. | ||
The banner at the bottom show which player can play. | ||
|
||
There is no end game yet. | ||
|
||
## Compiling | ||
You'll need the library [Ebiten by hajimehoshi](https://github.com/hajimehoshi/ebiten) to compile it. | ||
to build, execute: | ||
``` | ||
go build board.go liberty.go main.go vector.go window.go | ||
go build board.go liberty.go main.go vector.go window.go -o gogo | ||
``` | ||
|
||
to run, run: | ||
to run, execute: | ||
``` | ||
go run board.go liberty.go main.go vector.go window.go | ||
``` | ||
|
||
TODO: | ||
game is playable (but ugly) | ||
still need to provide better graphics (pixel perfect) | ||
resizable window with adaptative board resizing | ||
## Side notes | ||
The program has only been tested on Linux until now. | ||
If you have trouble compiling it on Windows, I cannot provide help, sorry. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters