Online since 2002. Over 3300 puzzles, 2600 worldwide members, and 270,000 messages.

TwistyPuzzles.com Forum

It is currently Fri Apr 18, 2014 6:55 am

All times are UTC - 5 hours



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Code Golf and other Challenges
PostPosted: Thu Sep 29, 2011 7:59 am 
Offline
User avatar

Joined: Fri Feb 06, 2009 2:57 pm
Location: Pittsburgh
http://codegolf.stackexchange.com/

Here guys, have fun. :D Code-golf is when you try to use the least amount of characters in your code. :D

check it out!

_________________
3x3x3 PB: 00:48.10
"Study gravitation, it's a field with a lot of potential."
Image


Top
 Profile  
 
 Post subject: Re: Code Golf and other Challenges
PostPosted: Thu Sep 29, 2011 9:59 am 
Offline
User avatar

Joined: Wed Mar 11, 2009 3:33 pm
Location: Pennsylvania, USA
Wow, these look tough. Look at the answers to the "bridges and tunnels" puzzle :shock:

_________________
NEEDS MORE LUBIX

My Youtube and Shapeways


Top
 Profile  
 
 Post subject: Re: Code Golf and other Challenges
PostPosted: Thu Sep 29, 2011 4:35 pm 
Offline
User avatar

Joined: Tue Mar 10, 2009 7:06 pm
Location: Nowhere in particular.
I know *very* little programming, but I tried my hand at the bottles of beer one. So far I'm at 260 characters in Python.

EDIT: 241 now, pretty good since that's the same as the lowest character Python solution on there.

_________________
~Kapusta

PB: At home (In Competition)
2x2 1.xx (2.88)
3x3 11.xx (15.81)
4x4 1:18.26 (1:24.63)
5x5 (3:00.02)
6x6 4:26.05 (6:34.68)
7x7 6:38.74 (9:48.81)
OH (35.63)

Current Goals:
7x7 sub 6:30
4x4 sub 1:10


Top
 Profile  
 
 Post subject: Re: Code Golf and other Challenges
PostPosted: Thu Sep 29, 2011 6:40 pm 
Offline
User avatar

Joined: Wed Jan 28, 2009 7:55 pm
Location: Montana
Originally I was thinking, 'Yeah, I do this all the time on my own' but when I saw how well others were doing the Mandelbrot algorithm, I was like, 'OMGWTFBBQ!!!'

My AP Comp Sci class last year did this all the time. Object-oriented code golf is an abstract game (lol) that works well in a class setting since we're all in the same language with the same assignment and instructions and we've all been taught the same material up to that point. Another coding challenge is the sorting techniques. Try coming up with your own method to be as efficient as you can get it. This way you get the minimum lines challenge in addition to efficiency challenge.

_________________
Andreas Nortmann wrote:
Things like this are illegal.
If not I will pass an appropriate law.


Top
 Profile  
 
 Post subject: Re: Code Golf and other Challenges
PostPosted: Sat Oct 15, 2011 11:39 am 
Offline
User avatar

Joined: Fri Feb 06, 2009 4:43 pm
Location: Mountain View, CA
I've been playing codegolf since 2007 at http://golf.shinh.org.
This site supports almost every popular programming language and has hundreds of golf challenges of various difficulty. You can also submit your own challenges.

_________________
Wishlist:
- 24-cube
- Helicopter Skewb
- Pyracue


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Forum powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group