Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Simple but thought-provoking programming tasks [OT]

by robot_tourist (Hermit)
on Apr 16, 2007 at 08:11 UTC ( #610286=note: print w/replies, xml ) Need Help??

in reply to Simple but thought-provoking programming tasks [OT]

hehe, now we'll know for sure if someone wants the monks to do their homework for them :) Go the whole hog and give them the Knight's Tour.

I did my own plaintext Minesweeper once, which is a nice project because is has input, output, objects, arrays and recursion in one package. Teach a principle and get them to implement it themselves as you go along. You could also introduce modules with something like Curses or even TK for extra credit.

Or go really hardcore and introduce them to threads with the dining philosophers (which I must confess to not to comletely mastering at uni).

How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
Robot Tourist, by Ten Benson

  • Comment on Re: Simple but thought-provoking programming tasks [OT]

Replies are listed 'Best First'.
Re^2: Simple but thought-provoking programming tasks [OT]
by Jenda (Abbot) on Apr 16, 2007 at 09:11 UTC

    Actually I did too. One that could solve most of the stuff automatically actually ... it even went as far as "due to this number here, there must be two mines in these three fields so the 2 over here will have both its mines there and therefore this field is safe, click" and then to one more level. All in Prolog. It was an interesting exercise. Shame I lost the code :-(

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://610286]
and monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (14)
As of 2018-03-19 17:45 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (245 votes). Check out past polls.