Closed alexander-lee closed 5 years ago
Merging #79 into master will increase coverage by
0.02%
. The diff coverage is46.66%
.
@@ Coverage Diff @@
## master #79 +/- ##
==========================================
+ Coverage 67.75% 67.77% +0.02%
==========================================
Files 25 25
Lines 1529 1530 +1
==========================================
+ Hits 1036 1037 +1
Misses 459 459
Partials 34 34
Setting up some player struct changes so that the API will be able to communicate with the game more easily.
Changes:
struct Player
in /ai/ai_player.go tostruct AIPlayer
interface Player
struct HumanPlayer
Let me know if I'm doing the interface thing wrong. The interface looks really thin right now (only 2 functions to implement, but now it allows for scaling.