Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Net Coding Challenge #1
#1
Alright no more talking...

.Net Coding Challenge #1


Intro:
What's up everyone? I decided to go ahead and try to kick off a challenge.

Details:
Challenge: Pig Latin Translator
End date: May 1, 2011
Details: Create an input where the user can type a sentence be able to translate between Pig Latin and English. You must pass the string to a function and have it return the translated value.
Requirements: Must have atleast (1) function that returns a translated value. Must translate TO AND FROM Pig Latin. Your code also must be commented to help direct others through your code.
Example: I sat on a balloon today. -> I-way at-say on-way a-way alloon-bay oday-tay.

Pig latin standards:
I'm not sure if there is an actual definition of pig latin but for the sake of conformity we are going to use these guidlines:

Words beginning with a vowel will remain the same and get '-way' appended to the end. (ex. apple -> apple-way)
Word not beginning with a vowel, will be split at the first vowel. The letters that were cut off at the beginning will be appended to the end then have '-ay' added to the end. (ex. preview post -> eview-pray ost-pay)

Vowels: A,E,I,O,U,Y <--- yes I included y.

How to enter:
Enter by responding to this thread stating are going to attempt this challenge. Do not PM me.

How to submit:
Submit by using a spoiler tag to hide you submission. Include a screen shot, the source code in {code} tags, a download link to the project. (Optional but preferred)

Choosing a winner:
If you complete this.. then you are a winner. This is not a contest to see who 'coded the best'. This is a challenge to see if you can complete it.

Disclaimer:

This is meant to be fun and constructive. By submitting your code for this challenge you agree not to get butt-hurt if somebody criticizes your work. Take the criticism, learn from it, and move on. Also, all comments made should be constructive. NO FLAMING ALLOWED. All flaming attempts will be reported.

For real beginners (including The High Roller):

If you are unsure how to set up a function check out this link. It also has A LOT of good stuff for learning C#/VB.Net.
http://www.homeandlearn.co.uk/net/nets9p1.html


To everyone: Good luck.

Submissions so far:

KoBE
The High Roller
Infinity
Reply
#2
I cannot do this, if I could, i'd would say scr*w pig latin and make it some Spanish instead!
[Image: t5BWm.png]
Reply
#3
That's quite a tough challenge. I'm not even sure where to start with this..
Reply
#4
It's basically assigning certain values for text strings to the pig latin version? from what It looks like, which isn't hard, but I don't quite understand how English is turned into pig latin.. I think it should be just a simple program. For this to take effect I would have to learn some pig latin, and I didn't intend on doing that for a coding competition.

So far from the example, it's just appending text to the original string value, but is that the only thing needed for pig latin?
Reply
#5
(04-15-2011, 06:27 PM)Infinity Wrote: It's basically assigning certain values for text strings to the pig latin version? from what It looks like, which isn't hard, but I don't quite understand how English is turned into pig latin.. I think it should be just a simple program. For this to take effect I would have to learn some pig latin, and I didn't intend on doing that for a coding competition.

So far from the example, it's just appending text to the original string value, but is that the only thing needed for pig latin?


I change my mind guys. I am starting the code right now, I better get a good reward man.

EDIT: Esto es tan imposible.
[Image: t5BWm.png]
Reply
#6
(04-15-2011, 07:48 PM)The High Roller Wrote: I change my mind guys. I am starting the code right now, I better get a good reward man.

My post changed your mind or what? lol, you quoted me but you're speaking to everyone in the thread. Was it something I said? Good luck anyway.
Reply
#7
Awesome, I am done with it. Not the best GUI at all. Didn't even work on it. But the functioning works, only one word at a time can be translated. Working on fixing that right now...

EDIT: NVM, ask someone who doesn't have a life to code such a thing. Single words are good enough, place them together and your fine. I don't know how google translate does it.

HERE IS MY RELEASE:


I hope I win, if no one submits full version. This is kind of half-ass, but the full would be way too time consuming to code. What do I win anyways?
[Image: t5BWm.png]
Reply
#8
Part of the challenge was to translate a sentence, not a single word.

Also @Infinity,
You're not just appending text, you're jumbling it up as well.

I mean it is possible to do, but it would probably take a while (at least for me seeing as I haven't coded anything in ages).

Reply
#9
@ The High Roller maybe post your source when everyone has submitted so no-one can copy or get ideas? lol
Also I see you only know how to do single words, you could just put every word in a sentence into a dynamic array.
Then call a handler / method to examine each element of the array.
You have soo much unneeded code it's quite funny but at least you gave it a shot!

More people enter if you want the coding section to be popular!

Seems pretty easy to do, well in java anyway. Tongue

[Image: burninglove4.png]
Reply
#10
(04-16-2011, 02:40 AM)Fragma Wrote: @Infinity,
You're not just appending text, you're jumbling it up as well.

See I don't know pig latin though so i'd have to take the time to learn how it's derived from the english language first to be able to make the functions to translate it. In his example, all I seen was appending text to the original word really


Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Code Challenge - Created by Ace AceInfinity 5 1,706 04-24-2012, 10:27 AM
Last Post: AceInfinity
  Help with coding jerrojack 1 877 12-29-2011, 03:27 AM
Last Post: AceInfinity
  Coding-Central.net - Coding, cracking and webmastering. w00pz 5 2,430 09-02-2011, 01:43 PM
Last Post: AceInfinity
  Help Coding A Downloader? Fragma 9 3,422 08-25-2011, 06:10 PM
Last Post: LiveModz
  .Net Coding Challenge #5 iCrack 18 5,906 05-21-2011, 12:49 AM
Last Post: thanasis2028

Forum Jump:


Users browsing this thread: 4 Guest(s)