Gnubik cubik

You should know the drill by now.

sudo apt-get source gnubik
chown me:me thedir -R
cd thedir
./configure
make

So I wanted to test a theory of chirality and sets and matrices that I had and the best way to do that is with the cube as it has been in my mind for some time and I believe that it has a solution set that is less complex than most people assume. The source is GL with GTK and C and some scripts. The interface is neat, but a little difficult to use. Of course you can just run the scripts, but I wouldn't learn anything that way. I am confused a bit to begin with because of the .scm scripts and how this gets integrated with the program. That will be something interesting and useful to know. They are scheme and I found a reference that looks helpful and they are used with gimp also so I will learn how they get applied in the program and how they are executed and integrated with the application, along with the way the language works. I hope it doesn't make it more difficult to remember all the other scripting languages, but it is there and it is another language I need to be able to read to quickly understand and modify programs for my uses.

(define (gnubik-randomize num) (let ((size (caddar (gnubik-cube-state)))) (gnubik-rotate-animated (let loop ((num num) (ret '())) (if (eq? num 0) ret (loop (- num 1) (cons (list (random 3) (- (* 2 (random size)) (- size 1)) (random 2)) ret)))))))

I am putting the GPL in here, because the code is this and I was showing the script, but it is GPL code, so be advised.

;; Copyright (c) 2004 Dale Mellor ;; ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2 of the License, or ;; (at your option) any later version. ;; ;; This program 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, write to the Free Software ;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA

One of the things I hope to learn by analyzing this is the nature of constructed complexity as it relates to the state of the cube when several moves have been applied and how that relates to its inherent randomness and how deeply confounded the associations have become. When playing with the einstein game I wanted to learn something about certainty and I did , though I need to consider that more, to be certain :)

0 comments:

Automated Intelligence

Automated Intelligence
Auftrag der unendlichen LOL katzen