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

Re: (Golf) Tic Tac Toe

by belg4mit (Prior)
on Jun 07, 2004 at 04:22 UTC ( #361866=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $_="123
    456
    ...
    while(<>=~/\d/&&s/$&/$p/g){
    /$p{3}/?d$p:!/\d/ ?d"Tie":d
    }
    
  2. or download this
    $_="123
    456
    ...
    while(<>=~/\d/&&s/$&/$p/g){
    /$p{3}/?d$p:!/\d/?d"Tie":d
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2014-10-01 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (3 votes), past polls