Re:Advice to Aimless, Excited Programmers
by billswift on Friday September 24, 2010 @02:41PM
(#1724825)
I have never done any graphics at all. All I know is bash and some awk and perl, mostly for text processing. I keep planning to learn more, which is why I read about it a bit, and browse HN, but I have too many other things I want to do too.
[ Parent
| on HN ]
It's actually really easy to do simple 2d graphics, you can probably learn how to draw 2d rects/circles/etc on the screen in 10 minutes.
Re:Advice to Aimless, Excited Programmers
by bmelton on Friday September 24, 2010 @03:03PM
(#1724930)
Who says you need graphics?
o | o | o ---------- x | x | x ---------- o | o | o
That (if HN doesn't mangle it) should be a fully working Tic-Tac-Toe board. You can store it as a string, hashtable, whatever you want. You could label the squares 1-9 for the prompt asking the user where to move.
This is all doable with perl and a command line. Try it out, see what you learn.
Re:Advice to Aimless, Excited Programmers
by nkassis on Friday September 24, 2010 @04:01PM
(#1725169)
My first implementation (in c++) was exactly like that. A 3x3 array that printed out like that. You had to enter 1,1 for the left upper corner (that's how I learned that arrays start at 0 in almost all languages ;p)
Re:Advice to Aimless, Excited Programmers
by Paulomus on Saturday September 25, 2010 @12:55PM
(#1727310)
Yes, GNU Go, the premier open source Go program is implemented exactly like this. Any graphical front ends in use are all written by third parties.