Fresh from the Labs
and, as root or sudo:
# make python-install
This should work in all three directories without errors. If not, make sure you have all of the previously mentioned libraries installed and up to date.
Now that the compiling is out of the way, head back to the main tetuhi directory, and enter the command:
$ ./tetuhi nameofimagehere.jpg
If everything has compiled properly, an image with some crazy instructions should appear on screen, walking you through the first steps of the game. The best types of images to use are those with simplicity, such as stark backgrounds with bold elements at the forefront. Included on the Tetuhi Web page is a link to a tarball containing sample images for testing. My favorite is “hills-cars.jpg”, whose line of land, trees and a car pulses and gyrates, while you control a wiggling sun—making for the trippiest game experience I've had in some time. Once you've enjoyed the first few plays, you may want to make a symlink to a pathed directory so that you don't have to keep entering Tetuhi's source directory.
Although the games themselves are rather simplistic (and lame in most cases), it's the implications of the image manipulation that are of real interest here. I can see parts of the code foundation making it into much larger-scale projects in the gaming and multimedia area in the future. Tetuhi's creator, Douglas Bagnall, is making particular efforts so that Tetuhi can be included on the One Laptop Per Child XO laptop, so it'll be interesting to see what kind of games and drawings children around the world will come up with to play in connection with Tetuhi's game rules.
Check out some of Douglas' other crazy projects at halo.gen.nz.
Projects at a Glance
joyevmouse is a joystick-to-mouse mapper that converts joystick events to mouse events. Of course, this means that lazy people like myself who watch endless episodes of anime and Top Gear won't have to get off the couch. Conveniently, joyevmouse also runs entirely in user space. It does not run as a kernel driver nor does it need a patch. Extra documentation and users are lacking at this point, so check it out and see if it suits your needs.
The Stump Window Manager (Stumpwm, www.nongnu.org/stumpwm)
Stumpwm is a keyboard-driven, minimalist X11 window manager written in Common Lisp. Despite its visually minimalist approach (there are no window decorations, icons or even buttons), Stumpwm is designed to be fully customizable and very powerful. And, judging by its main feature, I'd say it is so, because Stumpwm is designed to be hackable while the actual program is running. The ultimate control freak will love this, and any Lisp fans also should to take a gander.
Brewing something fresh, innovative or mind-bending? Send e-mail to firstname.lastname@example.org.
John Knight is a 23-year-old, drumming- and climbing-obsessed maniac from the world's most isolated city—Perth, Western Australia. He can usually be found either buried in an Audacity screen or thrashing a kick-drum beyond recognition.
John Knight is the New Projects columnist for Linux Journal.
|August 2014 Issue of Linux Journal: Programming||Aug 01, 2014|
|August 2014 Video Preview||Aug 01, 2014|
|Open-Source Space||Jul 31, 2014|
|Silicon Mechanics Gives Back||Jul 30, 2014|
|Reglue: Opening Up the World to Deserving Kids, One Linux Computer at a Time||Jul 29, 2014|
|diff -u: What's New in Kernel Development||Jul 23, 2014|
- August 2014 Issue of Linux Journal: Programming
- Open-Source Space
- Numerical Python
- New Storage Solution is Music to the Ears of Fast-Growing Digital Music Company
- Reglue: Opening Up the World to Deserving Kids, One Linux Computer at a Time
- Silicon Mechanics Gives Back
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer