News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Knut Urdalen's Blog:
Tic Tac Toe with PHP-GTK2
October 12, 2006 @ 09:14:00

Knut Urdalen has come back to PHP-GTK2 (since trying it back in the alpha stage) and decided to give it a shot by porting over an application and seeing how easy it was.

I wanted to see how easy I can take a simple GTK application written in another language and port it to PHP-GTK2. I ended up porting this Ruby/Gtk example written by Daniel Lichtenberger which have some logic, dialogs, events and some graphics.

His experience was a pleasant one, finding that most of the code came over easily, if not directly (well, with syntax chnages, of course). There were a few issues with pulling in the graphics, but over all, it went well. If you'd like to check out the source for the game, you can download it here and (with PHP-GTK2 installed) run it with a simple "php tictactoe.phpw" command.

1 comment voice your opinion now!
tictactoe phpgtk2 port ruby download experience tictactoe phpgtk2 port ruby download experience


blog comments powered by Disqus

Similar Posts

Errumm.co.uk: My first experience in building a FaceBook Application in PHP

PHP -GTK Community Site: A New Trio of Posts (phpISO, a PHP-GTK book, and Dev Inspector)

Joe Devon's Blog: How to get your talk accepted, experiences on the advisory board of Semtech & Zend

Roy Ganor-Shwaartz's Blog: PDT Gets Smarty

Rails for PHP Developers: Three New Articles Posted (Scope, Variables & RegEx)


Community Events





Don't see your event here?
Let us know!


security community laravel interview version framework introduction list library opinion tool podcast composer series example conference voicesoftheelephpant release language symfony

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework