Dwarf Fortress is closed source but may be freely distributed. The
following is the copyright information provided with the software.
*** COPYRIGHT INFORMATION ****************************
Copyright (c) 2002-2015. All rights are retained by Tarn Adams, save
the following: you may redistribute the binary and accompanying files,
unmodified, provided you do so free of charge. If you'd like to
distribute a modified version of the game or portion of the archive and
are worried about copyright infringement, please contact Tarn Adams at
toadyone@bay12games.com.
This software is still in development, and this means that there are
going to be problems, including serious problems that, however unlikely,
might damage your system or the information stored on it. Please be
aware of this before playing.