Coder Social home page Coder Social logo

Comments (7)

rawsonj avatar rawsonj commented on August 12, 2024

I always thought of these as "speed round" or gimmie questions.

If you're playing with a group of people, it turns into who can get to the answer the fastest, which can be fun.

That said, I'm not opposed to implementing the changes you have proposed here. I think it could be fun either way.

from triviabot.

andy5995 avatar andy5995 commented on August 12, 2024

I definitely lean toward adjusting that function.

I see many questions that are relatively easy, so I think there would still be an element of who can get the answer the fastest in a group of people.

I wouldn't mind hearing from other people on this. Anyone else have opinions? ;)

It's code that I'm reasonably certain I could write, once it's decided on how it would work.

The questions could still be asked 3 times, which gives players time to guess and answer.

2 character words get no clues. The question would get repeated but no extra clues show.

3 - 4 chars get 1 clue.

5 - 6 get 2 clues.

7 and over get the usual 3 clues.

Unless you have other thoughts on how it would function? Let me know...

from triviabot.

rawsonj avatar rawsonj commented on August 12, 2024

I think this could be entirely done in the Answer class in lib/answer.py.

And I think the proposed changes here are fine. Go ahead and make a pull request and I'll review.

from triviabot.

andy5995 avatar andy5995 commented on August 12, 2024

55_patch.2.txt changed clue_num to show_hint

55_patch.1.txt

Initially, I couldn't figure out how to do this in the Answer class, but after spending 3 hours on it, I think I could that now. ;)

Anyway, do you have suggestions for tightening this up? I tested it, and it works as is. I'll activate it in #triviabot-dev

from triviabot.

andy5995 avatar andy5995 commented on August 12, 2024

Hmm.. the 2 commits that I removed are still showing here, and apparently I can't delete them from this thread.

Sorry for any confusion. The changes presently showing on the issue55 branch are the same as in patch.2, attached above.

from triviabot.

rawsonj avatar rawsonj commented on August 12, 2024

You generally can't remove history, and rewriting history will break other people's repos.

What would make this easier for me to review would be if you created a branch, committed those changes to the branch and then pushed the branch to the repo using git push origin <branch-name>.

That way I can pull the branch and use git diff to review instead of downloading files and opening them.

from triviabot.

andy5995 avatar andy5995 commented on August 12, 2024

Ok, that's how I'll do it from now on. I read up on branches yesterday, and by now you've seen the branch I created.

from triviabot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.