Tk-Cells

At last! A real program! Okay, so it's still written in Perl, but there's less than nothing wrong with that.
Tk-Cells

Program name: Tk-Cells (<--That's the download link!)
I sent an email to the original author of this game, and got a nice email back, with the conditions according to which he wanted me to have this game distributed. It's pretty much what I've done, but to be explicit here it is:
  • The original creator of this game concept is Yoshitaka Nagano. The original game title is "Summing".
  • This version of the game Tk-Cells ("Tk-Cells") is freeware, as was the original, and is to be distributed as such. i.e.- You may not sell it or make profit from it.
  • The source for Tk-Cells (basically this program itself) may be used and modified freely, according to the GNU General Public License (GPL)
What it is: It's number-summing puzzle game inspired by, or I should say, copied from "Summing" for PalmOS devices by Yoshitaka Nagano. I first downloaded it onto my PDA and really enjoyed it. I seem to have gotten my entire family hooked on it. Unfortunately most of them do not own PalmOS devices, so I thought it would be fun to create a version that would be (mostly) portable across systems.
So, I wrote this. Tk-Cells is written in Perl with the Tk extension, which allows for pretty neat graphical programming. It was a bit intimidating at first, but then once over the small initial learning hump, it's pretty much like any other Perl program.
I'm not sure whether it's a good or bad thing, but this is pretty much an exact clone of Y.Nagano's "Summing". I hope he doesn't mind. It's just so amazing what a simple set of rules and a bit of programming can do! I guess it's good that I could figure out how to make an exact copy, but it's rather unoriginal of me. But then, even the masters say that "He who can copy can do".

How to use: (ie- Installation)

First, you probably want to rename the file tkcells.pl, or something. Just remove that .txt extension. (Uh.. Yes, that means you have to download it first.)

Linux:

You most probably have Perl installed already. However, you will need to install the Tk Perl module. The easiest ways to do this is through the CPAN perl module:
  • Give the command perl -MCPAN -e 'install Tk'.
  • If the install fails saying that it will not install without a "force", modify the previous command as perl -MCPAN -e 'force install Tk'.
  • It may take a while to complete the install, depending on your processor speed.
  • To run the game, you can open up a terminal window, cd to the directory where you saved the file, and give the command ./tkcells.pl.
  • You may have to first chmod it to allow for execution (eg- chmod 755 tkcells.pl).
You can also set up a desktop Launcher icon that you can double-click instead of having to use the terminal each time. (I'll write the details some other time. In the meantime, Google.)

Windows:

I'm sorry to say, is by far the easiest to get this running on. Here are the necessary steps:
  • Download ActivePerl, which is a popular Windows port of Perl. Once you have installed ActivePerl,
  • Download the Tk-Cell file, and rename as suggested above.
  • Double-click and play!
Make sure you have renamed the file with the .pl extension, otherwise it will not run.

Mac OS X:

There doesn't seem to be any simple way to do this. That said, I have found a rather useful page full of information about getting Perl/Tk running on Mac OS X. From other sources, I have gathered the following:
  • If you have Mac OS 10.2 (Jaguar), you will have to upgrade Perl 5.8 manually,
  • or download a package supplied by a third party.
  • The version of Perl that comes with OS 10.2 (5.60) seems not to be able to compile the Tk extension, at least through cpan.
  • If you have the new OS 10.3 (Panther) which comes with Perl 5.8, things seem to be easier, but not by much.
A search on Google might give you more information

How to Play

Here are the instructions from the "About" window:
Enjoy!

2011-07-12 21:01
Printer-friendly: plain or styled
Sitemap
Get Firefox! Tux Powered Valid XHTML 1.0!