RiverTethys / ppg-hanabi

Hanabi implementation in Python 3 with AI players
0 stars 0 forks source link

Excessive add_bit messaging #17

Open madheime opened 9 years ago

madheime commented 9 years ago

Try to eliminate redundant bit-adding in the code. Improve print statements in general for testing purposes. Maybe look into how --verbose works.

Note: "#probably convenient to have a "possible values" function in bit...Folder, I think, that eliminates the already-confirmed-negative values from a list of values (for a given quality)

.... that way we won't see the "you already tried to say that this thing had negative spin" message a bajillion times."

madheime commented 9 years ago

In process of making a table.current_list to cut down on size of some loops. Should be easy to maintain... Just remove a card from it whenever it is played or discarded.

madheime commented 9 years ago

Figured out one of the main problems. There's more to do... and we might want to take the opportunity to check that discardability bits are switching states for the reasons we want them to.