stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

7h 49m 28s logged

So Far: FINALLY got back into the actual game mechanics!! After being stuck on this for a while, I’ve started working on the guessing system - basically getting the computer to actually USE all the information it’s collected instead of just randomly guessing animals. This involved lots of new subroutines too… YAYY!!! Aside from that, the player can now ask questions and the computer is able to process and reply (to some extent lol).

The main challenge has been nested dictionaries (AGAIN). I’ve been working through exactly what each variable represents when looping through Bank, especially the difference between the attribute, the nested dictionary, and the individual value/status inside it. I’ve also started building an info dictionary which will store the characteristics the computer knows about, so it can use these to eliminate animals that don’t match.

I’ve also been working on keeping track of animals that have already been ruled out, then using that to create a list of possible animals before making a guess. Basically:

Bank → known information → eliminate animals → possible animals → GUESS.

The challenge: Because some attributes are single values, some are booleans, and others are lists (like regions/habitats), I can’t just compare everything in exactly the same way. Soooo… there’s definitely still some logic to figure out there!!

Next Steps: Finish the guess() subroutine, make sure the computer is correctly eliminating animals based on both yes AND no answers, and then connect everything properly to the main game loop so the computer can actually WIN instead of just guessing forever.

0
3

Comments 0

No comments yet. Be the first!