Journal FortKnox's Journal: Ask (a subset of) Slashdot: Code Samples 18
A gaming company wants me to submit my resume and code samples.
What code samples should I send??
Demo'ing a pattern? Using something fancy like multithreaded sockets? Something clever I came up with (although nothing clever comes to mind)... I probably shouldn't stall on this, and I don't really have code lying about, so any suggestion I can whip up would be great.
What code samples should I send??
Demo'ing a pattern? Using something fancy like multithreaded sockets? Something clever I came up with (although nothing clever comes to mind)... I probably shouldn't stall on this, and I don't really have code lying about, so any suggestion I can whip up would be great.
Examples of 3d Worlds (Score:2)
If so, look through NeHe's OpenGL tutorial [gamedev.net].
Whip up a nice 3d World highlighting all the cool features (textures, bump-mapping, phong, gouraund and specular reflection, good anti-aliasing, fog, particles, swarm, text and basic movements).
This way, you get to show people that you can code all the cool stuff in graphics.
If it is AI, then you could show a bunch of simple agents and swarms, maybe subjective behaviour and the like (I know that this is w
Re:Examples of 3d Worlds (Score:2)
Re:Examples of 3d Worlds (Score:1)
i'm glad to see you haven't completely given up on the idea.
Re:Examples of 3d Worlds (Score:1)
Re:Examples of 3d Worlds (Score:1)
Re:Examples of 3d Worlds (Score:2)
You could write simple implementations using both UDP and TCP/IP, and say why you think one is better than the other. Back in the days of yore, people used to write only using UDP, since they said that the ack took time and therefore TCP/IP is slower. But we're beyond that stage, and since games these days have tonnes of other features and the like, UDP would no longer do. Besides, latency is not as big a problem as it was, say, 10 years ago
You should lo
Re:Examples of 3d Worlds (Score:2)
How about a nicely structured event-driven webserver? That manages to pack in quite a few useful things - JNI, hashtables, parsing, buffer management, I/O and file access, some security awareness - all in a couple of pages.
A simple (recursion only, maybe with caching) DNS server would probably be a good demo of UDP handling, too, without getting too caught up in small
Re:Examples of 3d Worlds (Score:2)
Agreed, with a couple of caveats. JNI? This is a gaming company. The concept of writing a game in Java fills me with horror. The mantra for gaming is engine in C, game logic in a scripting language. Java is a poor choice for either. That said, if I was hiring a coder, I'd be looking les
Re:Examples of 3d Worlds (Score:2)
Good point - I was remembering FK's previous talk about Java, so I assumed he was after Java code samples... I'd be inclined to go for Java over most scripting languages for the logic end, though, especially when it's intended to be multiplayer. Java wouldn't be my first choice of language for very many things,
B2! (Score:2)
Better to ask them what types of code examples they would like to see. Who knows, maybe a simple AD&D character generator in C++ is all they are after - just enough to know you can produce clean,
From experience (Score:2)
Here is a sample toy I created. All it is is a bouncing ball in gravity. Clicking on it makes it bounce. It shows my use of sprites, user interaction/input capture, graphics, etc
That's all they're really looking for, that and your coding technique. Do you code well, follow proper naming conventions, commenting, etc..
I'll preface (Score:2)
First, I would send code that is commented well. That could be an important extra positive. Did they ask for a particular language? If not, several code snippets from whatever their primary thing is, plus a couple of other things - for a gaming company, a scripting lan
i would say (Score:2)
Plus, the sounds of it, its the most relevant.
If I was an employer (Score:1)
Also, some different programming languages could be a boost. Any programmer worth their paycheck should be capable of handling the same concepts using different languages. Shows you understand the theories behind things instead of remembering an example from some book.
That's a hard one (Score:1)
Include somewhere an example of a solution to a near-trivial problem, commented. My favourite is a strobe light with a speedup-on-keypress (and even a debounce subroutine) written in assembler for an 8051 controller; second is a route finder in Prolog, which is a terrible language for imperative-style problems.
This lets them see your style much better than an elegant hack to a hard task, or any working sol
Something already written.... (Score:2)
I vote for something particularly elegant. And I'm deliberately being vague because that means different things to different geeks :). But I think you get my meaning -- there are times to show off how enterp
If you want the job.... (Score:2)
...make sure you don't submit any Java code. :-D
A small world (Score:1)
I don't know why it took so long for me to realize this, but it seems like a good demo is the key to