wood burning stoves 2.0*
The moose likes Ranch Office and the fly likes Code Challenges? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Code Challenges?" Watch "Code Challenges?" New topic
Author

Code Challenges?

James Gray
Ranch Hand

Joined: Sep 10, 2001
Posts: 30
I'm not sure if this has been discussed before, but on a board a friend of mine frequents they have "Code Challenges" on a regular basis. These challenges, are usually some simple to moderate program with some kind of twist. For example, two that stick out in my head are roughly described below:
1. Create a console program in any language that picks a random number between 1 and 100 and displays it in such a way that the number representation fills as much of an 80 x 24 display as possible. The source code file that is the fewests bytes wins.
2. (This one was actually an Java challenge.) Create a complete, working, graphical version of Hunt the Wumpus in one hour or less.
Please understand, those are just examples.
Some challenges had prizes others were just for fun, but they all received lots of support and publication.
My question then is do we have interest here for a similar program for Java coders? Would any of you be willing to participate? Would the JavaRanch support such an activity in any way? Post your comments and concerns below and if there seems to be an interest, I'll see what I can do...
John Kilbourne
Ranch Hand

Joined: Aug 22, 2001
Posts: 30
I'd be interested. The challenges could be partly useful and partly fun: make 4 different types of password entry boxes; use 12 different Swing components in a program that does something completely different like parse text or calculate compound interest amotization; etc.
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
I am always looking for more to code. I am currently going through the Cattle Drive, but I can always use more practice.
Matthew Phillips

Matthew Phillips
parul patidar
Ranch Hand

Joined: Sep 07, 2001
Posts: 53
i would like to participate provided i get time
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Interesting! I think this is something to be discussed under the JavaRanch Forum where we entertain improves or new processes for the site. I'm moving this there.


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
James Gray
Ranch Hand

Joined: Sep 10, 2001
Posts: 30
Sorry about misplacing the post. I couldn't decide where it belonged. I thought it might benefit beginners most, so I settled there. The Ranch's staff opinion was a bit of an afterthought.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Anyone can give their opinions in this forum. Moderators Only is for staff only.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Peter Gragert
Ranch Hand

Joined: Jan 16, 2001
Posts: 424
Referring to examples>
I would like somthing like this, BUT with a concrete, good description and obeying good programming habits for example
using of good names and not a or b or c to build a short program.
E.g. the styleguide of the cattledrive asks us to put spaces around 'names'. So if I would think about removing them, the source becomes 'smaller'.
Meaning: Good challenges with good description of what is really
wanted and worthwhile ==> I would give it time to try to solve.
By the way, a final solution (see cattledrive) would be apropriate too.
Peter
James Gray
Ranch Hand

Joined: Sep 10, 2001
Posts: 30
Any chance of some official support for this? A page to post it on, occasional prizes, etc?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Code Challenges?
 
Similar Threads
How to print a variable returned from some other method?
count instances of each word in a String
Suggestions on database
Code Challenges?
Pretty new - basic questions