| Store | Cart

Learning how to program... but what's the best way?

From: Gerhard Häring <gerh...@gmx.de>
Wed, 10 Jul 2002 06:39:19 +0200
* Hans Nowak <wurmy at earthlink.net> [2002-07-10 04:17 +0000]:
> To give an idea of what I have in mind: A good start could be, for example, > some kind of game that can be scripted in Python, and therefore extended at > will.

Sounds difficult. I'd start with something simple. And in fact when I
was at that age, and learnt languages like C, C++ and Modula-2, the
first programs I wrote were always Tic-Tac-Toe (very simple) and Number
Mind.

Tic-Tac-Toe should be easy enough to start with. And both of them can be
programmed with a simple text-mode interface (print and raw_input),
without requiring a GUI.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9  3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))

Recent Messages in this Thread
Hans Nowak Jul 10, 2002 04:17 am
Gerhard Häring Jul 10, 2002 04:39 am
Matt Gerrans Jul 10, 2002 05:21 am
Daniel Yoo Jul 10, 2002 08:07 am
N D Efford Jul 10, 2002 10:33 am
Emile van Sebille Jul 10, 2002 12:24 pm
Hans Nowak Jul 11, 2002 01:45 am
Peter Hansen Jul 11, 2002 02:35 am
Messages in this thread