Idea for a tiny little program...

  • Thread starter Thread starter Marco Ippolito
  • Start date Start date
M

Marco Ippolito

Hi,

I am giving a seminar on C# interop and I would like to feature an original
sample class to stimulate some interest.

Does anybody want to write an open-source ConsoleApp || WinApp that, given a
starting English word, calls Babylon for translations in N languages and
plays a game with the user assigning one point for every
language/translation pair entered? (I am a licenced user for 2004 :-)

Example:

word: Table

User enters: de Tisch, es mesa, pt mesa, it tavolo, ...

I would obviously give credit to the author and handle everything
open-source!

Other interop tasks could be "linking to MS Word and assigning a point for
every synonym for the base language" or allowing multiple networked players
to challenge each other or play in teams (20 seconds for every English word,
1 point per answer, etc.)

Just a thought...

I will resort to the traditional DCOM Hello World, Fibonacci series or
something as boring as that otherwise. :-) I just can't spare the time to
look into this right now.

Regards,

Marco
 
Hi,

Sorry for asking this, but if you are going to give a seminar is cause you
know the subject, if so why don't you write the program yourself?


cheers,
 
Ignacio,

because for my purpose calling "any" COM method suffices. Even just one
method. I don't have much time on my hands right now so I'll just go for the
simplest possible example that demonstrates the concept.

I had this idea that it would be cool to have such an app (open source) as I
have an interest in languages. /* and here I admit it is a secondary
objective to the tech demo, but don't you always get inspired when thinking
about a good, creative example for your audience? */

Programming books either always use the canonical, university-style examples
(Fibonacci, Hanoi Towers, etc.) or have some personality (like creation of
an ElectricGuitar class deriving from Guitar, implementing IBendSound, etc.)

I thought to give my speech a special touch, that's all.

Later, I would have enjoyed building on the class (open source) adding
perhaps the sockets functionality for network gaming.

Hopefully somebody with a little bit more spare time will think this is cool
too.

I already got a reply from somebody who did a similar thing using
screen-scraping off their website.(I don't know how legal that is ;-)

I guess this risks ending up off-topic so if anybody is interested in a
"co-operation" on such a program then e-mail me.

If you are learning languages and would like to build your vocabulary, I
guess this could be of interest to you too.

For my interop demo, I think that "hello, world!\n" from DCOM will do.

Ciao,

Marco
 
Back
Top