[pythonvis] Re: Farkel scoring function errors

  • From: Patrick Smyth <patricksmyth01@xxxxxxxxx>
  • To: pythonvis <pythonvis@xxxxxxxxxxxxx>
  • Date: Tue, 28 Apr 2020 15:35:32 -0400

Want to share the new code? I'd also say that a text file attached to the
email or having the code posted to a service like Pastebin or GitHub's Gist
would be easier, as the line breaks were an issue in receiving the code in
the email. Using Git to get your files online and back them up is the gold
standard here but that's a whole other thing to learn and you probably
don't want that right now :)

Hope you're enjoying the progress your'e making.


Best,
Patrick

On Tue, Apr 28, 2020 at 9:36 AM Jeffrey Thompson <
dmarc-noreply@xxxxxxxxxxxxx> wrote:

Hi all,



              The previous code that I posted to do scoring in Farkel has
some bugs in it.

It was and is meant as a template for how to do a scoring function, not a
plug-and-play piece of code;

I apologize for not making that clear.

I am working out the bugs now.  One significant problem which I discovered
after a fairly long time of trial and error, is that the

"Counter()" class starts with a capital 'C', not a lower case 'c', as
would a function.

I had it spelled incorrectly, and could not figure out why it was not
working for some time.

I have the function running now, but I am suspicious that it is not
working correctly as it seems to consistently provide the same score
regardless of the dice roll.

So it is a work in progress.



              Hope this Helps,



              Jeff Thompson

Other related posts: