RiverTethys / ppg-hanabi

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

replay/reset mechanism (two versions or maybe only one) #12

Open madheime opened 9 years ago

madheime commented 9 years ago

Playing a game up to a certain point. (could possibly used to replay/test and also to run simulations) Playing a game up to a certain point for the purpose of constructing tables for ikyk.

madheime commented 9 years ago

Most of the excessive add_bit error messaging is coming from the ikyk function. Need to fix ikyk up... either in its current form or by generalizing the process with some sort of simulated game procedure.

madheime commented 9 years ago

May be worth having a play-the-game-up-to-here mechanism for ikyk, but during simulations, we may want to try to make the reset effect as efficient as possible.

If we want to do a rewind (with the bit-table trash can), then we may want to divorce card position from the table and store it in the cards themselves. Since the position of a card is completely public, there's no need to involve the more complicated operations of the table in handling that info.