ecc521 / gimkit-bot

An answer bot for gimkit
GNU General Public License v2.0
45 stars 73 forks source link

Bot not working on Gimkit #11

Closed shall2112 closed 4 years ago

shall2112 commented 4 years ago

Hi The bot simply only answers one question then stops

ecc521 commented 4 years ago

Does the GimKit game have "Show Correct Answer" enabled? Currently, the bot requires that, although PRs to fix it are welcomed.

On Sat, Feb 29, 2020, 10:14 AM shall2112 notifications@github.com wrote:

Hi The bot simply only answers one question then stops

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ecc521/gimkit-bot/issues/11?email_source=notifications&email_token=AKDVOG62WHTBKFMKDYZNJODRFES5TA5CNFSM4K6ZB7W2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IRMB4ZA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDVOG4TM3VX7MIU5ZDNMM3RFES5TANCNFSM4K6ZB7WQ .

shall2112 commented 4 years ago

Hi yes show correct answer is enabled. I am only 15 but studying python at school. I would be able to take on this project with some initial help

shall2112 commented 4 years ago

?

ecc521 commented 4 years ago

In case it helps you, I'll explain how the bot currently works.

  1. Guesses at answer
  2. If answer correct, store correct answer in object
  3. If answer not correct, click show correct answer and store correct answer.
  4. Always pick the correct answer when the question comes up again.

What we need to do it detect when show correct answer is available. If it is, continue as usual. If not, we need to store incorrect answers, and NOT pick them.

The easy way to do this? Store incorrect answers instead of correct ones. If we guess right, store the other 3 as wrong. If we guess wrong, store that question as wrong.

On Sat, Feb 29, 2020, 10:26 AM shall2112 notifications@github.com wrote:

?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ecc521/gimkit-bot/issues/11?email_source=notifications&email_token=AKDVOG3TR2GTHNIXRRRYD43RFEULDA5CNFSM4K6ZB7W2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENL4XVQ#issuecomment-592956374, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDVOG67HLT4B24IIQZHCVDRFEULDANCNFSM4K6ZB7WQ .