Whale is a fun simple card game for 2 to 4 players, you have reached the TUI version.
The game is in development and works with small limitations :
Bonuses are not fully implemented yet :
- missing choice of player for human bonuses (take by default first available player)
- bots never play bonuses
The goal is to get 5 water jet above your whale.
To add a water jet above your whale you need to play cards.
~ + ||
discard a wave card (~
) and put a water card (||
) above you : +1 water
≈ + ||
discard a doubleWave card (~
) and put a water card (||
) above you : +1 water
≈ + || + ||
discard a doubleWave card (~
) and put two water cards (||
) above your whale : +2 water
Game Steps :
- Distribute 3 cards to each player
- Choose the player to begin
- Player plays or skip if he can't
- Player draws a card
- Player discards if he has more than 5 cards
- If Player reach five water jet's he wins and ends the game
- Next player plays continue from 3
Prebuilt release binaries are available :
- Download
tar.gz
- Unzip the file
- Run
whale
:
./whale
go build -o whaleGame main.go
from binary
./whaleGame
from source
go run main.go
go test -v ./...
This project uses golangci-lint
as a linter which can be found here https://golangci-lint.run/
golangci-lint run ./...
- split package to make it a lib
- improve coverage
- fix asciinema to suport utf8
- implement missing bonuses features
- implement a web version using view-js