Do not assign your copyright. Licensing the work on either an exclusive or non-exclusive basis is in most cases sufficient for another party to deal with your work.
Payment may be either by flat fee or advance/royalty arrangement. Because development costs in the digital medium are often higher but distribution costs are lower, a rapidly escalating royalty rate may be appropriate. Royalty statements should detail items sold (CD-ROM) or number of accesses per period (Online/Internet).