A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • 5 years ago

On PS6, is it cheating to implement a computer cheater?

  • This Question is Closed
  1. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Specifically: My strategy for implementing a computer player is just to write a function that calls is_valid_word with everything in word_list, finds point values for every word that returns True, and returns the highest-scoring word. It works, but is that cheating?

  2. shadowfiend
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Maybe it is, maybe it isn't ;) I'd say implement it that way first, then think of ways you could implement it without ``cheating''.

  3. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    It's not cheating and here's why. It's implementing a "brute force" or "exhaustive search" algorithm, and is probably the "gold standard" to test any other algorithm against. Once you have a way of absolutely knowing (by exhaustive search), then you have a reference for measuring performance improvement of other algorithms. Also, looking at it pedagogically, by PS6 we have not been introduced to sophisticated algorithms to avoid exhaustive search. To be strict, it would be cheating to use some algorithm that you know only by--ugh--reading ahead. :)

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.