issues
search
skiwi2
/
TCG
A trading card game featuring a simple AI, initially designed for codereview.stackexchange.com Coding Challenge #2.
7
stars
1
forks
source link
Simplify creating players
#79
Closed
skiwi2
closed
10 years ago
skiwi2
commented
10 years ago
Creating players should be simplified:
Use a
PlayerConfiguration
class which holds the settings, such as hand size, etc.
Give
Player
a static factory method accepting the
PlayerConfiguration
in addition to the regular constructor.
Creating players should be simplified:
PlayerConfiguration
class which holds the settings, such as hand size, etc.Player
a static factory method accepting thePlayerConfiguration
in addition to the regular constructor.