aboutsummaryrefslogtreecommitdiff
path: root/logic/player.go
blob: 06424954ad562e97abc4b2f7ef627f134c719045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2016 Florian Fischer. All rights reserved.
// Use of this source code is governed by a MIT license found in the LICENSE file.

package logic

type Player struct {
	Name string
	Score Score
}

func NewPlayer(name string) Player {
	return Player{name, NewScore()}
}