Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^9: Inputing vectors into a scrabble-esque game

by Aldebaran (Deacon)
on Nov 09, 2019 at 07:16 UTC ( #11108510=note: print w/replies, xml ) Need Help??


in reply to Re^8: Inputing vectors into a scrabble-esque game
in thread Inputing vectors into a scrabble-esque game

It seems to me that you've streamlined the logic in the scoring and it had the effect of looking more for words that were going to clump the graph together, which is pleasing aesthetically. I've run it several times and am very encouraged by the possibilities. To my eye, the scoring for the individual words looks right, but I can't quite follow the logic of the $totalscore. It's going to have to change dramatically in a game with more than one player. With other players, then the logic of who runs out of tiles and and then who gets 5 points deducted per tile can fall better into place

Meanwhile, I've just gotten termux to have enough tools to build the rest of the perl tool chain. I'll regroup and present new challenges in a new thread.

I'm so pleased with the result of this thread that I don't want to jimmy with it much. Thank you.

  • Comment on Re^9: Inputing vectors into a scrabble-esque game

Replies are listed 'Best First'.
Re^10: Inputing vectors into a scrabble-esque game
by tybalt89 (Prior) on Nov 09, 2019 at 18:56 UTC

    Here's a multiplayer version of the game. Put players names as arguments on the command line. Ending the game on "player out of tiles" or "all players pass" is now implemented, as well as deducting points for unused tiles. Players running score is shown after the score for the play.

    $totalscore was put in out of curiosity. It's gone now.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11108510]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2020-11-27 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?