Closed aphelps4 closed 4 years ago
Oh also, I think it might be a better idea to keep the save feature, in the lowlayer, in a new branch. I don't think the idea is fully fleshed out yet.
That's a fair point.
Frankly I'm not sure why we decided to add those features in the Equalizer branch. They really don't belong there.
Good start but obviously needs more things implemented such as passing from Shooter.md. Also a new method, might be needed (maybe in the adjudicator), to pass out 26 points to other players at the end of a round when a player has successfully shot for the moon.
The update_score function in the adjudicator actually does handle shooting for the moon. I have a function at the bottom that tests that (although it is old and does not work with the current format of our adjudicator anymore).
I looped through 200 games and it did not run into any errors. It is a rough implementation but it works well enough to push into master. This branch also has the fixes for LowLayer.py so it is important to get that into master as well. I plan to add more details to Shooter.py later such as determining whether it is better to pass a hearts card or a lower card from a different suit.