The basic idea of TenBlocks is:
TenBlocks is open source, and the source is available from http://github.com/pdorrell/tenblocks.
Copyright © 1999-2008 Philip Dorrell (email) TenBlocks is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. TenBlocks is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Warning: unfortunately the original source code was lost due to computer crashes and errors in backup scripting, so the current source has been reconstructed by decompilation, and some of the variable names are not very meaningful.