Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: (Golf) Tic Tac Toe

by thospel (Hermit)
on Jun 07, 2004 at 18:14 UTC ( #362060=note: print w/ replies, xml ) Need Help??


in reply to Re^2: (Golf) Tic Tac Toe
in thread (Golf) Tic Tac Toe

Run this with an odd argument (like 3) to get a magic square :-)

print"@{$_=++$_%@F+$p--%@F*@F+1for@F,$p;F} "for@F=0..~-pop


Comment on Re^3: (Golf) Tic Tac Toe
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2015-07-04 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls