Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: implementing a scrabble-esque game on Termux III

by tybalt89 (Monsignor)
on Dec 03, 2019 at 16:42 UTC ( [id://11109606]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub matchrule {
      my ( $old, $highs, $word ) = @_;
    ...
      $tiles =~ s/$_// or return 0 for ( $newmask & $word ) =~ /\w/g;
      return 1;
    }
    
  2. or download this
    'hello' ^ 'world' => "\37\n\36\0\13"
    
  3. or download this
    my $newmask = ('hello' ^ 'world') =~ tr/\0/\xff/cr => "\377\377\377\0\
    +377"
    
  4. or download this
    ("\377\377\377\0\377" & '14222') => "142\0002"
    
  5. or download this
    "\377\377\377\0\377" & 'world' => "wor\0d"
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-23 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found