aboutsummaryrefslogtreecommitdiff
path: root/logic
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2017-02-18 22:26:35 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2017-02-19 19:20:57 +0100
commit7fdbc971afac5831d8c31295000af38d56021f51 (patch)
treea6a843e7066883aa11fcb83411fc947c1e43613f /logic
parent6566f09803377bb22b5460f9decb7d201b861ff4 (diff)
downloadgoffel-7fdbc971afac5831d8c31295000af38d56021f51.tar.gz
goffel-7fdbc971afac5831d8c31295000af38d56021f51.zip
logic: generalize Player struct
Diffstat (limited to 'logic')
-rw-r--r--logic/player.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/logic/player.go b/logic/player.go
new file mode 100644
index 0000000..31aa5d0
--- /dev/null
+++ b/logic/player.go
@@ -0,0 +1,9 @@
+// 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
+}