ichabod801 / t_games

A collection of command-line interface games written in Python.
GNU General Public License v3.0
21 stars 4 forks source link

Ten Thousand Value Bot did not announce banking. #494

Closed ichabod801 closed 4 years ago

ichabod801 commented 4 years ago

They rolled 4 4 6 6 6 6, with options = must-score straight=2000 zen=500. They scored the three sixes, but did not announce it.

ichabod801 commented 4 years ago

A ProbabilityBot did it too, in the same game. So it might be related to the options.

ichabod801 commented 4 years ago

This is a deeper problem in how TenKBots report their actions. They never really announce their last scoring of the round, but they never really get a chance to. I think I need to redo the relationship between the bots and the game, and have the game report when points are banked and when they are scored.

ichabod801 commented 4 years ago

Since I'm massively redoing the output, add more output as to the status of the game: last licks, three strikes, that sort of think.

ichabod801 commented 4 years ago

This works, and gives complete information. However, it's broken up a bit confusingly. First of all, the blank space I put in for the beginning of the turn should be taken out. That's taken care of by roll, but it does it for every roll. I need to decide if it should be every roll or every turn.

ichabod801 commented 4 years ago

It needs to be roll every turn because of the space before paradigm (the messages usually come after the game status, but that's not displayed on the bot turn. I could get around that, but it would require a ton of conditionals that aren't worth it.

ichabod801 commented 4 years ago

I think that does it. But I am going to hold this issue through the 2.7 testing to make sure it works with the odd combinations of options in the option groups.