Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 a moth chases the moon...

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