Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by robot_tourist (Hermit)
on Apr 16, 2007 at 08:11 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2025-02-07 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (94 votes). Check out past polls.