Highlight text to annotate itX
Again, pretty straight forward.
We get the word plays, and we sort them in reverse order again
so that bgigest are first, this time by word score, and then we just take the first n.
By doing the subscripting like that, it works when n is too big.
It works when n equals none.
Now, just an aside here, as the great American philosopher, Benjamin Parker once said,
"With great power comes great responsibility."
We have a great power here to go through all the words in the dictionary
and come up with all the best plays.
Now, I could read in the official Scrabble dictionary and I could apply the board position
that you saw in my game with Ken and I could come up with a bunch of good plays.
But that wouldn't be fair to my friend Ken,
unless we had previously agreed that it was legal and fair to do so.
I'm not going to do that. I got to resist that temptation.
And throughout your career as an engineer,
these types of temptations or these types of possibilities are going to come up.
Having strong ethics is part of learning to be a good software engineer.
So now, in terms of our pacing, we've achieved milestone #2.
We can stop sprinting again. We can relax. You can have a drink. We can lay down.
We can congratulate ourselves or do whatever we want to do.