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?
Jar. Jar!...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2016-12-08 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.