Coding while drunk
- super charlie
- Baaaaa!

- Posts: 1809
- Joined: Wed Mar 31, 2004 7:53 pm 0
- Location: Ipswich, suffolk
- Contact:
what was it then?gravy wrote:Me and some other guys out a very stupid cheat mode in Diablo PS1 after a few bottles of red.
And got in trouble for it.
cheers
charlie
Visit my website here to have a look at my game.
My last job was at one of large UK IT consultancy firms until 90% of staff roles were shifted to Bangalore. The morale towards the end was bad, to say at least.
Spot the bits coded after one of the numerous lunchtime drinks sessions.
I think the whole project was dropped soon after the transfer to India took place.
Spot the bits coded after one of the numerous lunchtime drinks sessions.
The application had some other 'unique' features like error-handler driven logic and use of obscure DLLs for which the source code was 'lost'.drunken coder wrote:
(Sorry about the black blocks - names Censored
and sorry it is in hideous VB ! )
I think the whole project was dropped soon after the transfer to India took place.
- KidQuaalude
- Baaaa!

- Posts: 762
- Joined: Wed Dec 22, 2004 6:29 pm 0
- PSN: ChrisBinary
- Location: Glasgow, Scotland
Oh dear, I'm probably going to be a little tispy later and no doubt I'll fancy a bit of arsing around with the little game I'm working on, best make a back up copy now 
I'm a terrible coder anyway and it often takes me a long time to get the simplest of things done incorrectly. I always end up breaking large parts of code if I code drunk, yet if I'm stuck in with a few beers I know somewhere down the line I'm going to open up the editor and have a little play about, damn you beer.
I'm a terrible coder anyway and it often takes me a long time to get the simplest of things done incorrectly. I always end up breaking large parts of code if I code drunk, yet if I'm stuck in with a few beers I know somewhere down the line I'm going to open up the editor and have a little play about, damn you beer.
Most of the Spiral1 code was written after a pissed night out watching Matrix Revolutions. You've got variable structures like SMITH and NEO, the main binary data store from the hardware is called MATRIX.
Even though we are one revision seven of the code to add rapid breathing capability, I've been trying to document functions that have useful names such as pull_the_plug, reload_matrix and he_is_the_one. The latter one is used for setting the current system variable structure from one of the six volunteers defined in the system.
I think that the source might get de-referenced before it's published as a document as it might confuse people..
Even though we are one revision seven of the code to add rapid breathing capability, I've been trying to document functions that have useful names such as pull_the_plug, reload_matrix and he_is_the_one. The latter one is used for setting the current system variable structure from one of the six volunteers defined in the system.
I think that the source might get de-referenced before it's published as a document as it might confuse people..
"Observation is the path to understanding. Self-observation is the path to self-understanding."
- RageMatrix
- Baaaaaaa!

- Posts: 5515
- Joined: Fri May 10, 2002 12:52 pm 0
- XBL Gamertag: Jon256
- Location: East Sussex
... Not to mention what happens to your braces!piku wrote:I find the more drunk I am, the less code I produce and the more daft comments I write...
Code: Select all
/* This function brought to you by Flaming Sambuca... the drink you /really/ don't want to spill ;-) this is also brought to you by some Underworld */ void makeSprites() { int xx, yy; numsprites = 0; spriteinfo[numsprites].alive = 1; spriteinfo[numsprites].x = x; spriteinfo[numsprites++].y = y; for (xx = 0; xx < 32; xx++) { for (yy = 0; yy < 24; yy++) { if (MAPENTRY(0,xx,yy) == EGG) { spriteinfo[numsprites].x = (xx*8)-8; spriteinfo[numsprites].y = yy*8; spriteinfo[numsprites].alive = 1; setAnim (numsprites++, 0, 192, 200); MAPENTRY(0,xx,yy) = 0; } else if (MAPENTRY(0,xx,yy) == BIRDSEED) { spriteinfo[numsprites].x = (xx*8)-8; spriteinfo[numsprites].y = yy*8; spriteinfo[numsprites].alive = 1; setAnim (numsprites++, 0, 200, 208); MAPENTRY(0,xx,yy) = 0; } } } }
Oooo... sounds like the typewriter in Naked LunchRageMatrix wrote:Honestly, really tried it. Its terrible. My head kept sinking into the screen and the keyboard feels too funny.....like human skin. <shudder>TDM wrote:How about coding on acid?![]()
I shit you not.
I write daft comments when I'm sober !!!
my old work place is full of stupid comments hidden for new programmers to find - I got bored quickly there and then I started to entertain myself. (whenever somebody read them, they would spurt tea out of their nose in surprise)
anyway, when I'm drunk I think I'm the best coder in the world. Then comes tomorrow; I spend the next day undoing all the damage I did yesterday.
cannot code when ill either, I completely cack things up then as well. just cannot focus enough to know what I'm doing is a bad, bad idea.
my old work place is full of stupid comments hidden for new programmers to find - I got bored quickly there and then I started to entertain myself. (whenever somebody read them, they would spurt tea out of their nose in surprise)
anyway, when I'm drunk I think I'm the best coder in the world. Then comes tomorrow; I spend the next day undoing all the damage I did yesterday.
cannot code when ill either, I completely cack things up then as well. just cannot focus enough to know what I'm doing is a bad, bad idea.
01000101 01000100 01000111 01000101
http://www.redbubble.com/people/fotofill/ buy my photos!




