alex-ong / NESTrisOCR

OCR for statistics in NESTris
24 stars 7 forks source link

Update state without checking values #62

Closed timotheeg closed 3 years ago

timotheeg commented 4 years ago

When starting capture mid-game, gameid stays at 0, and game state incorrectly stays at MENU.

Opening a small changeset for discussion.

alex-ong commented 4 years ago

I believe we discussed setting default state to in game, and keeping level != Null + lines == 000 or 25 and score == 000000 to start game? Could you do that (or I can too...)

timotheeg commented 4 years ago

Oh I forgot about this PR 😅 Let me update it to what we discussed.

timotheeg commented 4 years ago

Done

timotheeg commented 4 years ago

@alex-ong this is ready to merge I think 😃 Pls check

alex-ong commented 3 years ago

I didnt check, i'm going to blind merge 🍷

timotheeg commented 3 years ago

Lol, I completely forgot this PR! I hope it doesn't introduce a bug 😅