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

Challenge: 2D Tank

Name: Anonymous 2010-05-14 15:43

The Challenge:
|---->Program a 2d tank application in the language of your choice that adheres to the following:

#-The tank must rotate using the left and right directional keys.
#-The tank must loosely resemble a tank.
#-The tank must move forward or backward respectively from the direction it is facing using the up and down directional keys.
#-Pressing spacebar must fire a 'shot' in the direction the tank is facing.
#-The perspective of the user must be fixed and facing down at the tank.
#-The tank, shot, and ground must each have their own color. (all shots may have the same color)


<------You have 24 hours!------>
GET TO WORK!

Name: Anonymous 2010-05-26 16:04

>>174
No it isn't. Think outside of your stored data box.

Name: Anonymous 2010-05-26 16:04

>>172

>>58 is a 3D version, in ~2kb of code, although it doesn't have sound.

Of course, that's probably not what you meant. But I don't think anyone here can produce a 4k executable that fulfills those requirements.

Name: Anonymous 2010-05-26 16:08

>>172
Hold on let me go back to the early 90s when programmers had Amigas and executable space was still an issue

Name: Anonymous 2010-05-26 16:34

>>177
and fractal generators were all the rage, that might make >>175-kun happy.

Name: Anonymous 2010-05-26 17:24

>>176
I meant full executable size, statically linked. I should have been more clear.

>>177
:| This isn't about necessity. It's about badassery. I figured you would have learned the difference when I fucked your mom, ``son.''

http://www.youtube.com/watch?v=_YWMGuh15nE

Name: Anonymous 2010-05-26 17:26

>>174
http://www.youtube.com/watch?v=rD-U_wGFt5s
http://www.youtube.com/watch?v=_YWMGuh15nE
http://www.youtube.com/watch?v=MwVsATdGdpg
Have a browse, there's plenty more of those.

I could probably do the sound dev for that challenge, but I'm kind of over 4k stuff. But I bet if you extended it to 8kb you could very easily stuff in a full networked version.

Name: >>172,179 2010-05-26 20:20

>>180
4k challenges on /prog/ are about as sensible as shutting up, getting things done and not trolling each other on /prog/: never mind the implications, it's just not going to happen. I only brought it up because I felt like shitposting.

Name: Anonymous 2010-05-26 20:39

>>181
What if I do it?

Name: Anonymous 2010-05-26 21:19

>>182
The "award-winning" requirement was put there to ensure you don't. If you do manage to pull it off I am sure someone will be happy to suck your dick for it.

Name: Anonymous 2010-05-29 6:04

>>16

line 38: variable 'tangle' not found
'tangle = 0, mangle = 0 int'

Name: Anonymous 2010-05-29 6:42

>>172
Stream it from YouTube.

Name: Anonymous 2010-05-29 10:34

>>184
Your compiler is broken, or you don't know how to use it. tangle is clearly declared.

Name: Anonymous 2010-05-29 11:54

>>186
My compiler is smarter and quicker

Name: Anonymous 2010-05-29 12:05

>>185
STREAM MY ANUS
>>187
130kb of pure lean code amirite?

Name: Anonymous 2010-05-29 12:53

>>188
amirite

Back to /b/, please

Name: Anonymous 2010-05-29 13:40

Name: Anonymous 2010-05-29 13:45

Name: Anonymous 2010-05-30 2:25

>>191
Hey!
That doesn't exist yet!

Name: Anonymous 2010-05-30 7:06

i am so glad i stopped wasting my life with programming. now i have so much time to waste on other, more enjoyable things like games and explicitly sexual videos(no homosex).

Name: Anonymous 2010-05-30 8:18

>>193
Back to /b/ please

Name: Anonymous 2010-05-30 8:50

>>193
Same here, i watch anime and rock/metal videos.
Programming for fun is like cleaning oil spills for fun.

Name: Anonymous 2010-05-30 10:31

>>193,195
Read SICP

Name: Anonymous 2010-05-30 13:37

Can someone compile >>16 as an .exe for me?

Name: Anonymous 2010-05-30 15:19

>>197
If this isn't a perfect opportunity to fuck up some random idiot's computer, I don't know what is.

Except I'm too lazy to bother writing something malicious.

Name: Anonymous 2010-05-30 15:48

>>198
Rest assured nigger, I'll run it in a VM.

Name: Anonymous 2010-05-30 15:58

>>199
But I am not black!

Name: Anonymous 2010-05-30 16:25

>>200
But you're as dumb as one fuck-stick

Name: Anonymous 2010-05-30 16:41

>>199
So, you can set up a VM, but you can't manage to compile a single-file program?

Name: Anonymous 2010-05-30 16:53

>>202
I did; I get an error on line 38 but Bjarne Xarn says there is no error.

Name: Anonymous 2010-05-30 17:00

>>203
Replace it with a float, if your implementation doesn't support it. It must be some c99 abuse.

Name: Anonymous 2010-05-30 17:09

>>201
How dumb is one fuck-stick?

Name: Anonymous 2010-05-30 17:13

>>205
twice as dumb as half a fuck-stick

Name: Anonymous 2010-05-30 17:36

>>204
Xarn writes perfect ANSI C. If it's erroring on allegro_init(), which is line 38, >>203 has fucked up either his Allegro install or his compiler arguments.

If you're talking about fixed, which >>203 wasn't, that's part of Allegro, not C99.

Name: Anonymous 2010-05-31 2:15

Xarnbump.

Name: Anonymous 2010-05-31 4:49

>>207
I use Miracle C compiler the best C compiler known to man

Name: Anonymous 2010-05-31 5:54

>>209
o rly

Name: Anonymous 2010-05-31 8:47

Use this --> http://en.wikipedia.org/wiki/Troll2D. Much better than Allegro.

Name: Anonymous 2010-05-31 9:07

>>211
That's a Sepples library, dipshit.

Name: Anonymous 2011-02-03 5:43

Name: Anonymous 2011-02-03 8:12

Name: Anonymous 2013-07-07 21:21

Golang version when?

Name: Anonymous 2013-07-07 21:38

Shit, I'm three years late. Can I have an extension?

Name: Anonymous 2013-07-08 1:10

>>216
Only for another 8 months, bucko.

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