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

Homeworks thread

Name: Anonymous 2010-05-17 13:22

The Task
Produce a random ASCII maze generator.
The program's source must look like the maze that is generated by seeding its randomiser(or whatever generation method is used) with a value relative to a distinct property of the source (for instance, the number of characters in the source file). This property must be specified.

'Must look like' means non-whitespace(easy mode: [^a-zA-Z0-9_]) characters are treated as 'walls'. The source must also be the same size as its maze.

Extension
Produce an efficient (not brute-force) solver for this generator. Its source must look like the route found for the maze generated using the same distinct property of either source.


Post other easy(too easy to bother solving) homework problems here!

Name: Anonymous 2010-05-17 13:36

Name: Anonymous 2010-05-17 13:36

Poor show, friend.

Name: Anonymous 2010-05-17 13:46

>>2
None of those are programs
>>3
I don't care about this being solved

Name: Anonymous 2010-05-17 13:51

>>4
Actually, those are all programs.

Name: Anonymous 2010-05-17 15:49

>>2
This is the reason I don't program anymore.

Everything I can think of doing that might be even slightly fun.. has already been done by someone.

Name: Anonymous 2010-05-17 15:53

>>6
You don't have a lot of imagination.

Name: Anonymous 2010-05-17 16:52

>>6
Yeah? Where's that /prog/ visual novel, then?

Name: Anonymous 2010-05-17 16:56

>>6
Yeah? Where's the automatic HMA poster, then?

Name: Anonymous 2010-05-17 16:57

>>6
find a prime number larger than 210122. that hasn't been done by anyone.

Name: Anonymous 2010-05-17 16:58

>>8-9
those have both already been done.

Name: Anonymous 2010-05-17 17:15

>>11
The visual novel was started but never finished. Those mock-up screenshots are the only things that exist.

Name: Anonymous 2010-05-17 18:42

>>1
easy
I don't see how this is particularly easy. Maze generation and solving are quite simply but arranging the source in the same maze generated would take days of preprocessor debugging.

Name: Anonymous 2010-05-17 22:14

>>13
I'm going to go out on a limb and say YHBT. Maybe >>1 was making fun of /prog/ being considered an intermediate programming community.

Name: Anonymous 2010-05-18 7:06

>>1

I completed the maze generation and the solver, trying to get the fucking thing into the same sized maze as it produces... Fucking hell this is hard. I'm probably going to give up soon.

Name: Anonymous 2010-05-18 12:16

>>15
COMPLETE MY ANUS

Name: Anonymous 2010-05-18 13:57

>>12
maybe we should finish it

/prog/ POWER PROGRAMERS TO THE RESCUE!

Name: Anonymous 2010-05-18 14:25

>>13
Just write it in befunge.

Name: Anonymous 2010-11-16 6:28

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