carlofazioli / cardiathena

A project to study strategies in the game of hearts, using distributed computing, AI, and data analytics.
GNU General Public License v3.0
6 stars 1 forks source link

Include tests #2

Closed kruzaavn closed 4 years ago

kruzaavn commented 4 years ago

Hey guys, I took a look at what was coded up for the adjudicator state. Take a look at what i did in this branch.

I added tests from the testing module, streamlined the state vector, procedurally generated the state_map, added doc-strings and reformatted to conform with PEP8.

kruzaavn commented 4 years ago

Rgr, I'll build a stub base class. From that team, let's see what we can generalize from the hearts class and and move into the base.

davidjha commented 4 years ago

I can't get seem to get hide_encoding to work properly. I'm guessing this function needs either 0-3 to be passed in for "player" to mask off the state for that player.