Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - c4ooo

Pages: 1 ... 7 8 [9] 10 11 ... 17
121
Community Contests / Code Golf - The Reboot #10
« on: August 02, 2015, 11:59:59 pm »
Hello ladies, gentlemen, and Pegasi of omnimaga! It seems that the circle is complete and that it is my turn to host again! Without further adu, welcome to the 00001010th installation of ....
Code Golf: The Reboot!

Don't know what code golf is?, read this paragraph by @JWinslow:
Don't know what code golf is? Check out this contest thread OR this really old contest thread for an explanation. Don't know what code is? Then you will not understand this website in general :P
So, here is your challenge:
Today you have gotten yourself a new job at a company that produces touch screen devices. Being part of the security department, it is your job to design and program a password protection system for the device. You decide to steal a design that is currently popular on the market, and involves the user connecting cells with lines by sliding their fingers across the screen.
The next day your boss approves on your plan, and you decide that the size of the cell grid should be 5*5. The start will be the top left corner, and the end the bottom right corner. The user will have to to drag their finger from the start to the end while going over every cell. From a cell the user can drag to any adjacent cell, be it horizontally, vertically, or diagonally, as long as they do not drag over the same cell twice, and they do not frag out of bounds. The user is successful if they dragged over every cell and are currently at the end. If they reach the end without dragging over every cell, or attempt to drag over the same cell twice, then they are unsuccessful. The user is also unsuccessful if they drag out of bounds.
This is an example of a success: (taken from your scratch pad)

These two are examples of fails: (also taken from your scratch pad)

and

Input
For input, you must read 25 characters from stdin, or your languages closest alternative. Each of the 25 characters will represent a move,and will be a  number 1-8, 1 being go up, 2 up and right, 3 right, and so on in a clockwise fashion. The input is not a list of moves to make, but rather a road map to follow. For example, if you are at cell {3,4}, then you will have to read character {3,4} to make your next move. Hint: You will have to treat the 25 chars as a 5*5 multi dimensional array. Due to  the last character being the finish, its state should not affect the program.
Output
Open reaching the end with every cell passed, you must print a positive result. Open passing the same cell twice, reaching the end without passing every cell, or going out of bounds, your program must print a negative result. The "negative" and "positive" results must be unique, and be consistent over multiple runs.
Example: (An "x" does not affect the outcome of a program)
For input

44446
XXX6X
XX6XX
X6XXX
4444X

The move map should look like this:

And should be a fail because not all the spaces where transversed.

Scoring

All non-calc languages will be scored with this counter, courtesy @Juju.
All Assembly programs will be scored on binary size, and TI-BASIC and Axe will be scored on on-calc source size (minus tios header). The Axe header does count.

Submission

PM me over on Omnimaga,or shoot me an email [email protected] with the code to submit your entry.

Well, i think this is the end, i will add a scoreboard once i get some entries, which i hope i will get (activity seems to be going down ._.) If you have any questions/would like me to clarify something, feel free to ask.

122
Reuben Quest / Re: Reuben 3 teasers / change / stuff
« on: August 02, 2015, 12:59:09 pm »
You gotta love hookshots!

Lol XD
The greyscale looks nice!, and that spider, amazing O.O . I hope it makes it into the final game!
But, I just have to point out, that from the side the main character looks like either a hedgehog or a a mole with a hat on :P

123
-snip-
Your slang intrigues me. This is the first time I heard of "bresenhammering". And when you said "algos" the other night I had no idea what you meant so I made a joke in [grammaticly wrong] Latin telling you not to talk about grief ("Algo" is Greek for "sorrow" (the joke was that algos is Greek and I told you not to talk about grief in Latin lol))

Also I came upon Escheron.pdf on the interwebs. I don't know if you are still using the story line as found in that file, but hell, the first two paragraphs sounded like something from a Sumerian legend. O.O The only way you could have made it better is if you said the gods made humanity by molding them from clay and sacrificing one of there own to bring them to life.  :thumbsup:

124
Music Showcase / Re: Pimath's WIP Music Topic
« on: July 31, 2015, 11:16:48 pm »
Hmm nice sound! :D I presume all of it is electronically made with software, right?

Edit:
* c4ooo prods himself to get a new electric and disto petal.

125
Art / Re: Mockups "please say this is going to be a game"
« on: July 30, 2015, 06:36:39 pm »
Just some ideas from my old hard drive :)
Your second image reminds me of the troll fortress in Boulder's Gate [2?]. At closer look they are very different, but both have a 2.5D- mountains and both have a sandy flour. *nostalgia*.
This is the second image btw: [img]https://www.omnimaga.org/art/mockups-'please-say-this-is-going-to-be-a-game'/?action=dlattach;attach=18500;image[img]
(Note I presume that is sand in your image and I presume the different levels are "steps" in a mountain's side.

126
Gaming Discussion / Re: SGDQ 2015
« on: July 28, 2015, 09:50:39 pm »
Although I've never played oblivion in particular, speed running throu on ES game sounds to impossible *.* It took me a week to get to the 3rd  or 4th quest along the main story line in Morrowind :o

127
Humour and Jokes / Re: Important life algorithms
« on: July 28, 2015, 01:34:15 am »
Hmm, seems like too much work to just eat Oreos.
That was sort of the point, to laugh at OOP :P
Also I am somewhat jealous that @Matrefeytontias has an Oreo store inside of him. :P  ;)
However I am a little freaked out that he has an Oreo box inside of him.   O.O  XD

128
Art / Re: Mockups "please say this is going to be a game"
« on: July 28, 2015, 12:02:40 am »

And...

*c4ooo runs

129
Reuben Quest / Re: [Reuben 3] Recruiting!
« on: July 27, 2015, 04:59:06 pm »
I unfortunately won't be able to help with the pixel art, but I do have an answer to your poll. I believe you should support both calcs, and allow newer models to opt in into better graphics. With my modified version of @Runer112's greylib (which you seem to be using) I was able to allow the user to select from monochrome, shitscale (auto correct suggesting "shirts ale" WTF LMAO) , and proper interrupt based greyscale, all in mid game.

130
Humour and Jokes / Re: Important life algorithms
« on: July 26, 2015, 10:37:22 pm »
Today I learnt something : life is made of algorithms. I discovered one today, being a student in my own appartment :

Code: [Select]
while(oreo)
    oreo--;

Did you discover things like this ?
Sorry for necro posting, but i felt like this needed a OOP update and a small reality check:  >:D :P
Code: [Select]
package Matrix.AIs.Matrefeytontias;

public class Matrefeytontias {

    private OreoBox oreoBox;
    public static OreoStore oreoStore;

    public static void main(String... args) {
        oreoStore = new OreoStore();
        Matrefeytontias matrefeytontias = new Matrefeytontias();
        matrefeytontias.live();
    }

    private void live() {
        while (oreoStore.hasOreos()) {
            buyOreos();
            while (oreoBox.hasOreos()) {
                oreoBox.eatOreos();
            }
        }
        //die
    }

    private void buyOreos() {
        oreoBox = oreoStore.buyBox();
    }

    static class OreoStore {

        int boxes;

        OreoStore() {
            boxes = 100;
        }

        OreoBox buyBox() {
            boxes--;
            return new OreoBox();
        }

        boolean hasOreos() {
            return boxes != 0;
        }
    }

    static class OreoBox {

        int numberOfOreos;

        OreoBox() {
            numberOfOreos = 50; //Correct me here please
        }

        void eatOreos() {
            numberOfOreos--;
        }

        boolean hasOreos() {
            return numberOfOreos != 0;
        }
    }
}

131
I am still on my trip and will not be able to host again this weak :/ I guess @pimathbrainiac should go, or if he is still at band camp then @JWinslow23.
Edit: We have had some mix up with people gone, but I presume I will go next?

132
Other / Re: Icarus, a knex ball machine
« on: July 22, 2015, 12:40:49 am »
*c4ooo expects physics glitches to start happening throughout the world.

133
Actualy @JWinslow23 agreed to sub, so you won't have to host this week.  ;)

134
We should encourage people to post the saturday before the challenge(preferably as closer to 12:00:00AM[last time me and @Juju got within 2 seconds :3] as they can). Being early is better than being late.

135
Computer Projects and Ideas / Re: My [WIP] irc bot
« on: July 11, 2015, 07:48:07 pm »
Bump for updated thread.
Sounds nice, in which language are you developing it in?
I am writing the bot in Java. ;)
Edit i was finaly able to set up git with netbeens, and pushed the files: https://github.com/c4ooo/c4Bot

Pages: 1 ... 7 8 [9] 10 11 ... 17