Who owns the code?

Started by
14 comments, last by fs86 11 years, 7 months ago
Hi everyone,

Just a freshly-minted member here, but I've got a question about my code, here's the scenario:

Recently, a friend of mine got me a job building a web-based multiplayer game. Part of the game was outsourced, but I had to rewrite a lot of that, and the rest was left to me to write the code for. So basically, I've written both the client and most of the server-side code. Here comes the fun part: While I have been getting paid to do this work, there is no written contract (basically no documentation at all to confirm that I have been commisioned to write this game). Does that mean I own the code, or the company does?

Ideally, I'm looking for some legal info on this, as it has become pretty important recently, for details I can't and won't go into. I've read online that the ownership resides with the author, unless the author is an employee of the company, or a contract explicitly states who the owner is. As there IS no contract, therefore no employee record, etc. I'm worried that the waters are somewhat muddied and need some confirmation.

Thanks
Advertisement
You need to speak to a lawyer that's familiar with rules and regulations in your area. In some places it might be as you say that the work is yours without explicit agreement, but I think in most places the work belongs to whomever is paying you for it unless you have a contract that says otherwise.

When you think about it, any employment agreement usually starts out with the base assumption that in exchange for money, you are agreeing to do some work, and that the fruit of that work belongs to the employer. Otherwise it would essentially be charity for the company to be paying you.

throw table_exception("(? ???)? ? ???");

There is no contract in place, and they paid you money in exchange for services, so I'd call it a work for hire. That means they (as the contracting body) own the rights.

At this point since there is no written agreement it becomes a verbal agreement, and is up to a judge's interpretation. Or you can negotiate it and get it in writing now.
There is NO standard answer to this. Even if you know the jurisdiction (lets assume TN / USA, since that's were I live and work). All copyright starts with the author. In general copyright does not transfer unless explicitly transferred. However, a work for hire is often viewed as implying such a transfer, unless something described the contract to the contrary. It is common for ownership to transfer to the investor, however it is equally common for ownership to stay with an author, and the investor to gain limited rights to it (such as for the project being worked on / bought).

However, your situation is FAR more complicated than even that. Since you didn't right the initial code ... so in this case you are probably screwed. Because it would be impossible for you to gain a copyright for something you didn't create without it being transferred to you. If the person who paid for the initial code (your soon to be ex friend) is NOT the owner of the original code, then there is no possibility for you to become the owner of the modified code - as it would reside with the original author. If your employer DOES own the original code, and you obviously knew this, then it would be reasonable for a court to say that - unless something was said to the contrary - when you took the job, you assumed similar terms to the previous author (meaning, if you know the previous authors code is the employers, and you knowingly added to it, you consented to let ownership reside with the employer). Because ADDING to code, DOES NOT make you own it, AT ALL. The original owner gains rights to your additions - by virtue of them being a part of the derivative work.

If someone shows you my code - and you extend it - your additions are legally mine, NOT YOURS. That's the fundamental nature of copyright. If you add a line, verse, or modification to a popular song, THEY have the right to use your change, but you did not and do not have any rights to the song whatsoever (including your additions).

Just read about the Verve to understand how this works.
The original owner gains rights to your additions - by virtue of them being a part of the derivative work.

If someone shows you my code - and you extend it - your additions are legally mine, NOT YOURS. That's the fundamental nature of copyright. If you add a line, verse, or modification to a popular song, THEY have the right to use your change, but you did not and do not have any rights to the song whatsoever (including your additions).[/quote]

That is not accurate. If you extend someone else s work, you have created what is called a "Derivative work". Ownership of a derivative work is complex. You do not have the rights to that work, since it incorporates elements of someone else s work. So you can't sell/license it, etc. If you wanted to do that, you would need to obtain the explicit rights from the rights holder of the original work.

However, the original author does NOT have the rights to your original extensions of that work.
In the case of a song, if you make up a new verse to a song, the original songwriter does NOT have the rights to your new verse.
Computer code, same thing.

You should talk to a qualified copyright attorney. Even if there is no written contract, if there are email exchanges, etc that spell out terms or a "meeting of the minds", that may well have influence on what a judge would say.

You should talk to a qualified copyright attorney (No, that wasn't a typo-- it was important enough to say it twice smile.png

Brian Schmidt

Executive Director, GameSoundCon:

GameSoundCon 2016:September 27-28, Los Angeles, CA

Founder, Brian Schmidt Studios, LLC

Music Composition & Sound Design

Audio Technology Consultant

Thanks for the advice. So it IS as complicated as I thought. But now as I understand it I have the derivative work, but does that mean that, for example, I can choose to not allow my work to be used, and force a reversion to the original work? Also, to complicate matters further, it is only one element of the code that I didn't write from scratch, so does that make the rest of the work isn't derivative?

You should talk to a qualified copyright attorney (No, that wasn't a typo-- it was important enough to say it twice smile.png

...and to quote for emphasis. You're on murky legal grounds, and you're not going to get any clear response -- and would certainly be lucky if you were able to pursue a favourable outcome -- without speaking to a professional.


If nothing else, a valuable take-away from this situation is that proper legal agreements -- or barring that at least a clearly stated plain-english agreement -- are really important, and for anything remotely serious should be sorted out sooner rather than later.

- Jason Astle-Adams

But now as I understand it I have the derivative work, but does that mean that, for example, I can choose to not allow my work to be used, and force a reversion to the original work?[/quote]
It's not quite that simple.
What happened is that you and whomever paid you did have a contract. It may not have been written down,but clearly since someone started writing you checks and you started writing code, there was some sort of agreement. You knew what to write, they knew how much to pay you.

Since it was not a written agreement, it gets very hard. If there is a dispute (which reading between the lines, it sounds like there is), then the way disputes are settled in such cases in in the courts. Either you sue them because they're using "your" code, or they sue you for their money back if you're not handing over the code you wrote, etc.

What will then happen is that a Judge will have to create a contract for you, after the fact, based on what you say, what they say and whatever evidence (email thread, logs, notes, etc). And they will decide who owns the code.

Although I would advice contacting a lawyer versed in copyright and contracts law, I have to believe that if someone gave you some instructions on what code to write, wrote checks for you to write it and then you wrote that code, it would be difficult to believe the agreement between you was anything but a "Work for Hire" agreement. A judge would look at all of the facts and then judge what would be a reasonable contract.

Although I suggest you contact an attorney (there-I've said it 4 times:)), if they paid you a reasonable rate (in the normal range for "work for hire" programming) and you accepted their money, I think you'd have an uphill case saying it wasn't a work for hire.

But to answer your question with a much more simple answer:
If you write code and get paid for it, but don't have a written contract, that does NOT mean that you automatically own what you've written.

Edit for clarification. What I should have written was: If you write code and get paid for it and don't have a written contract it does not mean that you would automatically win if you were sued (for example, if you then sold/licensed it to someone else). It was a certainly huge error on the part of the person who is paying you to not ensure that you had a contract.

Brian Schmidt
Register for GameSoundCon2012 San Francisco
Oct 24-25

Brian Schmidt

Executive Director, GameSoundCon:

GameSoundCon 2016:September 27-28, Los Angeles, CA

Founder, Brian Schmidt Studios, LLC

Music Composition & Sound Design

Audio Technology Consultant

as it has become pretty important recently, for details I can't and won't go into.
To me, this reads a bit like "I now have an offer from a direct competitor and since I wrote that stuff and there's no written contract, I'd reuse what I have, and sell to them". Don't correct me if I'm wrong, and don't tell me if I'm right -- just saying what this looks like.

If it is anything like that, stay away from that idea, for your own good. Don't even talk about it. Seriously.

But now as I understand it I have the derivative work, but does that mean that, for example, I can choose to not allow my work to be used, and force a reversion to the original work?

It's not quite that simple.
What happened is that you and whomever paid you did have a contract. It may not have been written down,but clearly since someone started writing you checks and you started writing code, there was some sort of agreement. You knew what to write, they knew how much to pay you.

Since it was not a written agreement, it gets very hard. If there is a dispute (which reading between the lines, it sounds like there is), then the way disputes are settled in such cases in in the courts. Either you sue them because they're using "your" code, or they sue you for their money back if you're not handing over the code you wrote, etc.

What will then happen is that a Judge will have to create a contract for you, after the fact, based on what you say, what they say and whatever evidence (email thread, logs, notes, etc). And they will decide who owns the code.

Although I would advice contacting a lawyer versed in copyright and contracts law, I have to believe that if someone gave you some instructions on what code to write, wrote checks for you to write it and then you wrote that code, it would be difficult to believe the agreement between you was anything but a "Work for Hire" agreement. A judge would look at all of the facts and then judge what would be a reasonable contract.

Although I suggest you contact an attorney (there-I've said it 4 times:)), if they paid you a reasonable rate (in the normal range for "work for hire" programming) and you accepted their money, I think you'd have an uphill case saying it wasn't a work for hire.

But to answer your question with a much more simple answer:
If you write code and get paid for it, but don't have a written contract, that does NOT mean that you automatically own what you've written.

Edit for clarification. What I should have written was: If you write code and get paid for it and don't have a written contract it does not mean that you would automatically win if you were sued (for example, if you then sold/licensed it to someone else). It was a certainly huge error on the part of the person who is paying you to not ensure that you had a contract.

Brian Schmidt
Register for GameSoundCon2012 San Francisco
Oct 24-25
[/quote]

Thanks for that, pretty clear and concise. I'm sorry if I'm coming off pretty clueless about this, it's just that it is a situation I didn't expect to find myself in, and really need all the advice I can get to make informed decisions. Just to give a couple more details: I'm not using the company's tools, and to make matters even more complex, I'm actually being paid by a third party, not the people who give me instructions on code to write. Also what happens if the pay is far less than the standard work-for-hire rate? To clarify though, this isn't about money as such, I'm just wondering how it affects the issue.


[quote name='fs86' timestamp='1347325271' post='4978747']as it has become pretty important recently, for details I can't and won't go into.
To me, this reads a bit like "I now have an offer from a direct competitor and since I wrote that stuff and there's no written contract, I'd reuse what I have, and sell to them". Don't correct me if I'm wrong, and don't tell me if I'm right -- just saying what this looks like.

If it is anything like that, stay away from that idea, for your own good. Don't even talk about it. Seriously.
[/quote]

I know you said don't correct you, but when you posted that I realised that's how it is coming across, and that's REALLY not the case. I've not been approached by anyone, nor do I want to sell the code to another party. Sorry I can't go into details, but let's just keep it vague with it has everything to do with working practices and conditions, and decisions being made about the code.

This topic is closed to new replies.

Advertisement