Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

New coding contest

Name: Anonymous 2009-11-28 15:49

We haven't had one in a while so let's have a new coding contest. I'm open to suggestions for the challenge, but if we don't have any good suggestions we will default to something stupid like "implement cowsay in erlang shitty language X".

Name: Anonymous 2009-11-28 15:51

How 'bout a game?

Name: Anonymous 2009-11-28 15:52

>>2
It would need to be a simple game, the usual time limit is 24 hours.

Name: Anonymous 2009-11-28 15:56

FIBS!

Name: Anonymous 2009-11-28 16:03

How about a (very simple) mud server in your language of choice?

Name: Anonymous 2009-11-28 16:06

>>5
FIBS!
FIBS
FIBS!

Name: Anonymous 2009-11-28 16:10

A C preprocessor or a sudoku solver

Name: Anonymous 2009-11-28 16:12

>>3
make a better version of excellent quest!

Name: Anonymous 2009-11-28 16:17

How about pong? 24 hours to make the smallest, most complex, or retarded version of pong you can.

Name: Anonymous 2009-11-28 16:24

>>2
here
>>3
I was thinking: minesweeper in console/terminal

lol

Name: Anonymous 2009-11-28 16:26

||
||
||
||
||
||
||
||
||
||

Name: Anonymous 2009-11-28 16:28

>>1-11

Shut up.

We're making Tetris.
Get to work.

Name: Anonymous 2009-11-28 16:29

>>12
count me out

Name: Anonymous 2009-11-28 16:39

>>13
is not an [b][i][u]EXPERT PROGRAMMER[/b][/i][/u].

Name: Anonymous 2009-11-28 16:41

>>14
and neither am I, apparently.

Name: Anonymous 2009-11-28 16:45

Let's do a Fibonacci Tetris Mud server.
Implementation details are left as an exercise to the contestant.

Name: Anonymous 2009-11-28 16:48

>>14
it's not that, I just hate tetris.

Name: Anonymous 2009-11-28 16:55

>>16

You find yourself trapped in a pit, deep and square.
Blocks are falling from the sky. One reaches the ground and blasts your ears with a resounding thud. You shiver.
The next block appears to be more complex than the last one, and the one after that appears to be more complex than that one. You do not think this cycle will end.
Obvious exits are UP.
_

Name: Anonymous 2009-11-28 17:02

UP⏎

Name: Anonymous 2009-11-28 17:16


You cannot fly!
You turn around just as another block lands by your feet. It suddenly occurs to you that there is little time before a block will try to occupy the same space as your body and crush it.
_

Name: Anonymous 2009-11-28 17:23

The next block appears to be more complex than the last one
And what does it mean for a block to be more complex than another I wonder

Name: Anonymous 2009-11-28 17:28

>>21
They are fractals. Fancy that.

Name: Anonymous 2009-11-28 17:38

maybe we should form a "/prog/ contest comitee".

i vote for the fucked up tetris.

Name: Anonymous 2009-11-28 17:52

>>23

Sign me up.

Fibonacci tetris pong, perhaps?

Name: Anonymous 2009-11-28 18:02

>>24
So pong, but instead of a ball you have a tetromino (or however the fuck that's spelt), and each time it hits off a bat, the previous number is added to the mix?

Name: Anonymous 2009-11-28 18:03

Given a function fibs(int n):int, that returns the n'th fibonacci number, write a function sumFibs(int n):int, that returns the sum of the first n fibonacci numbers with only one call to fibs and no loops or recursion.

Name: Anonymous 2009-11-28 18:04

4D Pong

Name: Anonymous 2009-11-28 18:15

>>26
Yeah, I remember doing that when I was 12.

Name: Anonymous 2009-11-28 18:15

>>26
Clever

Name: Anonymous 2009-11-28 18:20

>>25

I was thinking along the lines of playing pong and tetris at the same time. Whenever you miss a ball in pong, another garbage line is added to the game of tetris. Every time you gain a level in tetris, the number of balls becomes the next fibonacci number, but you need to have that number of balls scored against you to have a line added. Speed increases in both games with each level.

For example, on level 8 of tetris, you would have 21 balls on screen at once, and every 21st point scored against you would add a garbage line to the tetris playfield.

Name: Anonymous 2009-11-28 18:21

>>30

Actually, I don't care what the contest is, I'm making Fibbopongtris.

Name: Anonymous 2009-11-28 18:26

Now we just need FV (or MDickie) to lead the team, and we're set.

Name: OP 2009-11-28 18:33

Since we can't seem to get a consensus on anything other than fibs and the weird tetris is unlikely to be doable in a day. I'm just going to go with the default.

Implement Cowsay or equivalent program for a different animal (e.g tablecats). It must support the -n command line option. The text lines must wrap at 40 characters by default, and may be overriden by a -W flag. All other details are optional, but highly recommended. For more information, please see man cowsay

Name: OP 2009-11-28 18:34

You have 24 hours, gentleman.
Best of luck.

Name: Anonymous 2009-11-28 18:35

>>33

Fuck you, nigger, I'm doing Fibbopongtris.

Name: Anonymous 2009-11-28 18:36

>>33
So fibbopongtris it is! *grabs opengl*

Name: Anonymous 2009-11-28 18:38

>>35,36
Assuming you do it in a day, you win. The purpose of this thread wasn't to make something useful, but just to counter some of the spam that gets posted and to get people to post code for a change

Name: Anonymous 2009-11-28 18:44

>>37
So why are you saging a non-spam thread then?

Hell, I bumped the duck typing thread because it was less spammy than average.

Name: Anonymous 2009-11-28 18:45

>>38
So why are you saging
Habit

Name: Anonymous 2009-11-28 19:02

Alright, so when does this thing begin?  Is that guy going to tell us when we have 24 hours?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List