Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« The Coding Apprentice
Programming Language Trends via Google »

PHP Games

April 6th, 2006

Earlier this morning, I ran across the Heroes of might and magic online mini-game (via digg). The game is written in PHP and uses the prototype and scriptaculous java script libraries. The interface is very drag and drop oriented and it uses Ajax to update game status. The graphics are very good. No flash as far as I can tell.

Their server is getting crushed right now, intermittently not responding and running out of MySQL connections. The javascript crashed my browser a couple times. Still, I was intrigued by the combination of Ajax and PHP and I liked the interface. Definitely one to bookmark for later. (I’d like to track down that crasher when I get more time.)

What is the state of Ajax games? of PHP games? Are there other PHP/Ajax games that I should bookmark?

categories PHP
tags ajax, ajax games, javascript, php, php games

Related Posts

  • Whats on my Mac
  • Sarah Snow Stever
  • Enterprise PHP
You can leave a response, or trackback from your own site.

22 Responses to “PHP Games”

  1. #1 Aaron Wormus responds...
    April 6th, 2006 at 12:58 pm

    I have a friend who is doing something like UrbanDead in PHP5. He’s using AJAX for the “fights” and some of the other functionality that would benefit from that.

  2. #2 Garcia Hurtado responds...
    April 6th, 2006 at 2:12 pm

    Not quite AJAX per se, but I was very impressed by this game when it came out:
    http://www.smokymonkeys.com/triglav/

    The only downside is that it requires IE to work, but it has some pretty amazing HTML / Javascript game flow.

  3. #3 Patrick Smallwood responds...
    April 6th, 2006 at 2:29 pm

    PHP games are quite active these days. I work on Blacknova Traders, a PHP-driven web based game similar in style to Tradewars 2002. There is also Legend of the Green Dragon (A clone of Legend of the Red Dragon). Not to mention Alien Assault Traders, Promisance, Quantum Star (SE), PHPRPG, Phaos, and dozens of forks of all of the above.

    Now AJAX is a little different. Its starting to creep into the various PHP games, but slowly. It takes us a little time, since we are generally all working with seriously legacy code that doesn’t take kindly to new technology. :)

    There are quite a few of us, and many of us blog. Check my blog, or better yet, Maugrim’s blog for links to other PHP game developers.

  4. #4 Jared responds...
    April 6th, 2006 at 4:18 pm

    It’ll be interesting how far this project goes.. http://www.shankun.com/AtlasPhp.aspx
    using PHP and .NET’s ATLAS client AJAX library. Haven’t looking into what ATLAS can do yet.. but seems a hefty chunk of js code (238k for the core .js) so hopefully does some neat things.

  5. #5 Maugrim responds...
    April 7th, 2006 at 1:06 am

    Ajax adoption is going to take time to penetrate the PHP Games genre. We have a tendency (esp. in open source) for common denominator development. It’s not that Ajax is bad, it’s just something new and finding a valid use for it in what is in some cases legacy code is difficult. The newer the game project, the more likely someone will build in Ajax elements…

    I’ve worked with Ajax in another project and I look forward to implementing it in Quantum Star SE’s interface (the Evolved branch is a rewrite of the legacy code). I’ve been playing around with PEAR’s HTML_AJAX along with the Prototype and Scriptaculous js libraries getting a feel for the possibilities. I bet a few others like me are just playing around with AJAX until we get a handle on how we can effectively use it (and not just dump it in at random as UI candy).

  6. php tidbits? » a week in phpworld #1 pingbacked on April 8th, 2006 at 4:44 am
  7. #7 Michael Wales responds...
    April 8th, 2006 at 2:28 pm

    The current state of browser-base games is something that concerns me greatly - it seems a lot of the “greats” are starting to get abandoned by their users and developers. The tutorial, article, and news sites have been gone for ages. This is something I hope to rectify here shortly.

    I have been deployed to Kuwait since January, I get to come home in May. The whole time I have been here I have been working on a website that I will launch within weeks of my return to the states. I currently have a number of tutorials, articles, interviews, postmortems, etc - all centered around the browser-based game world.

    My goal, my hope, is to once again garner a true community around these games and get the younger crowd of people interested in these games once more. As both players and future developers.

  8. #8 pit responds...
    April 12th, 2006 at 9:52 am

    Nice Ajax single and multiplayer games can be found here (together with Ajax chat, tournaments, and much more..)

    www.pitstreet.com

  9. #9 Stefano F. Rausch responds...
    May 9th, 2006 at 8:54 am

    Very promising is the new http://wwww.32cards.com (soccer card) game for Windows. It’s coded in PHP in combination with the PECL WinBinder!

    You should have a look at it.

  10. #10 HighPriest responds...
    September 6th, 2006 at 5:36 pm

    Come try out Heaven and Hell - the game
    Not saying much here. I will let you judge by yourself.
    Meet you in the Realm!!!

  11. #11 Kevin responds...
    September 27th, 2006 at 10:17 am

    This is a fairly well developed game for only being around a year and a half, Nowhere-Else and Beyond. Only one developed/programmer, and he did a good job. The game is always having updates that utalize more and more ajax instead of javascript, and it also has some extra features like an alternate Java map display instead of normal JavaScript. Using the Java can also enable the 2.5D view (perspective) instead of the plain old 2D view. Just a note: The game has over 60′000 lines of code (That’s a lot for one person who has another job! (He develops this game in his spare time))

  12. #12 Susanoo responds...
    October 18th, 2006 at 9:53 pm

    “http://blog.quantum-star.com/index.php?/archives/239-Redux-First-Official-Code!.html”
    -Maugrim

    I believe that is about right. Our site is a good example. We have just entered Beta testing at Shogun Wars. Right now we’ve don’t have much using AJAX, mainly just the message system, but we have big plans for it the (hopefully) near future.

    It is definitely easier to implement when you know it is coming.

  13. #13 Susanoo responds...
    October 18th, 2006 at 9:58 pm

    Lol … that was cute. I had just bookmarked that link above to my site, and somehow still had it in the clipboard… then my browser freaked out and decided to make this form disappear and I had to either submit blindly or re-type… I guess I should have re-typed.

    Within the quotes above it should read:

    “It’s not that Ajax is bad, it’s just something new and finding a valid use for it in what is in some cases legacy code is difficult. The newer the game project, the more likely someone will build in Ajax elements…”

  14. #14 ashraf responds...
    December 14th, 2006 at 4:58 pm

    I like perl, php and mysql. but some time a server setup with all the facility can be a hard job. We have developed a simple software which does all the thing automatically. It has php, mysql, email, pop3, dns, page designer, phpmyadmin like thing all built in. we named it dotash project and avail free at www.ashnah.com

    ashnah language is the world first language that has cgi, xml, database all built in. user do not need any external library for this and it introduces xdll concept.

    It is ideal for home or small office use.

  15. #15 Bill responds...
    February 23rd, 2007 at 11:11 pm

    AJAX games are popping up more often as the technology ages. The most complex one I’ve seen is here (http://www.voximperium.com) and is called Vox Imperium. Its a clone of Civilization written with AJAX tech, but its also multiplayer.. I’ve seen worlds with ~50 people playing at once. The networking is well thought out.

    As far as I know its written in PHP/Javasscript with MySQL on the backend.

  16. #16 Mark Whitehead responds...
    May 12th, 2007 at 12:16 am

    I’m working on a fully Graphical PHP Adventure game with AJAX principals (no refreshes).

    It has a shop system, battle system, item system and worlds that you can visit, all the while walking through each island maps artwork and players.

  17. #17 Miko responds...
    May 16th, 2007 at 12:18 am

    Here is a new ajax powered free chat Chant,
    that can be integrated to Wordpress.
    I hope this help :)

  18. #18 Dan Stagg responds...
    May 30th, 2007 at 1:56 pm

    I’m working on developing a simple browser game using PHP, HTML and MySQL. It’s going fairly quickly, and I’m still working on the base engine, but I’m amazed at how much PHP I’m learning.

  19. #19 Sean Walsh responds...
    July 4th, 2007 at 11:54 am

    I’d like you to contact me about this game, add me on messenger if you’d like. I want to find ways how to release exploits/hacks etc..

    It is a known thing in the game and very common and I want to do it.

    Please mail me.

    Thanks, sean walsh.

  20. #20 NickTheGreek responds...
    August 22nd, 2007 at 5:27 am

    It is not long ( January 2007 ) i implemented a newer and heavily modified version of WebChess on my own server. No AJAX, but blazing fast.

    http://chess.yourforum.gr

    Come and invite me to a game if you can take a serious challenge :)

  21. #21 Mafia Game responds...
    September 7th, 2007 at 10:27 am

    Hey can you please contact me, I think I’m interested helpping to work on this game.

  22. #22 Sg1: A 2d ajax multiplayer real-time strategy game. responds...
    January 26th, 2008 at 12:33 am

    Sg1: A 2d ajax multiplayer real-time strategy game. This Game is awesome and is made by AjaxProdigy.com

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

code: use [code=php][/code].

Comment Preview

  • Search

  • Subscribe

    Subscribe All Posts
    Subscribe All Comments
    Subscribe All Bookmarks
    Subscribe with Bloglines Subscribe with My Yahoo Add to netvibes Subscribe in NewsGator Online Subscribe with Google feed reader
  • Share This

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (16)
    • Open Source (14)
    • PHP (93)
    • Software Design (27)
    • Usability (14)
    • WACT (7)
    • Web Design (20)
  • Recent Comments

    • Delphi for PHP  27
      GNtdTFJVFOSmiLLje, JackSfe, ZIB_NIMER [...]
    • PHP Coding Standards  6
      3123, Jack Johnson, Ignatius [...]
    • Expert and Novice Programmers  13
      Ben W, flj, chris web developer [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  83
      e-okul, Luis Oscar Cruz, xentek [...]
    • How to Transfer Mac OS X Application Data between Computers  34
      Khaled bin Alwaleed, Oscar, TeeJay [...]
    • Sarah Snow Stever  23
      Snowcore, ennah, Philippine Website Developers [...]
    • PHP Development From Java Architects Eye  9
      Bobrila, FelhoBacsi, Angsuman Chakraborty [...]
    • Improved Error Messages in PHP 5  9
      ennah, Khumaer, retry [...]
    • The value of MVC  7
      Vulchak, อะไหล่แอร์, Derek Scruggs [...]
    • Why PHP is easier to learn than Java  13
      , , WTF [...]
    • goto in PHP  38
      Goldilocks, , SFM [...]
  • Pages

    • Tags
  • Recent Posts

    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)
    • Keywords and Language Simplicity
    • Improved Error Messages in PHP 5
    • Michigan Taxes Graphic Design Services
    • Ruby versus PHP or There and Back Again
    • Mighty Mouse Kryptonite and Exceeding Expectations
    • reCAPTCHA - Combining Distributed Problem Solving with a Web Service
  • Archives

    • 2007: Jan Feb Mar Apr May Sep Oct Nov
    • 2006: Jan Feb Mar Apr May Jun Jul Oct Nov Dec
    • 2005: Jan Feb Mar Apr May Sep Oct Nov Dec
    • 2004: Apr May Jun Jul Aug Sep Oct Nov
  • Menu

    • Register
    • Login