Someone pick my license!

Hey guys, I’m trying to find a software license for Retro-Pixel Castles that suits my needs, and quite honestly I can’t find one that really works. So I was wondering if some of you license gurus can help me out.

License requirements:

  • NOT Open Source, just available source.
  • You may use my source code or other resources for educational purposes as you please. But, you may not distribute the source code in your own projects, retail or otherwise.
  • You may not redistribute any of the game resources (Art, maps, source code, etc)
  • Exception to the above, you may only distribute modified pieces of the source or the resources if it is for the intent is in good faith to modify Retro-Pixel Castles for other’s to use.

Any ideas on a good license that covers this reasonably? Basically the idea here is I only want people using the code to teach themselves some coding or to share their modifications of RPC. But protect myself from people trying to ripoff my source and make/sell an RPC clone. :stuck_out_tongue: