u-one / go-xeno

Golang implementation for playing card game "XENO" with CLI.

Repository from Github https://github.comu-one/go-xenoRepository from Github https://github.comu-one/go-xeno

go-xeno

Go

Golang implementation for playing card game "XENO" with CLI. (work in progress)

カードゲーム"XENO" をCLIで遊んでみるためのgolang実装。 開発中。

Usage

main.go

  // 4 com players
	conf := xeno.GameConfig{
		Players: []xeno.PlayerConfig{
			{Name: "Player1"},
			{Name: "Player2"},
			{Name: "Player3"},
			{Name: "Player4"},
		},
	}
  // 1 com player, 1 Human
	conf := xeno.GameConfig{
		Players: []xeno.PlayerConfig{
			{Name: "Player1"},
			{Name: "Player2", Manual: true},
		},
	}

About

Golang implementation for playing card game "XENO" with CLI.

License:MIT License


Languages

Language:Go 100.0%