 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
IBM developerWorks: 30 game scripts you can write in PHP, Part 1 Creating 10 fundamental scripts
by Chris Cornutt November 20, 2008 @ 11:13:00
In a new tutorial from the IBM developerWorks site starts off a new series looking at creating some games, from start to finish.
PHP is an easy-to-use, easy-to-learn, widely accessible programming language. It's well suited for developing simple scripts you can use to help you in all kinds of games. Whether you play simple pen-and-paper games by yourself, complex tabletop role-playing games with a group of people, or online games of any kind, this series will have something for you. Each article in this "30 game scripts you can write in PHP" series will cover 10 scripts in 300 words or less (3d10 stands for "roll three 10-sided dice") simple enough for even a beginning developer, but useful enough for a seasoned game player.
The ten scripts they walk you through are things like a die roller, a name generator, a deck builder/shuffler, a poker dealer and a crossword helper.
voice your opinion now!
game script fundamental tutorial example
Paul Reinheimer's Blog: Web Bot Battle - BETA
by Chris Cornutt August 01, 2008 @ 11:12:58
Paul Reinheimer has posted about a contest in the making - a turn-based robot battle sort of game where PHP scripts compete against each other.
Just a quick announcement, in an effort to come up with a self scoring contest, I came up with the ridiculously simple concept of robots firing lasers at each other in a fictional arena. Each robot controlled by a different PHP script, and a central arena managing it all. It's basically a turn based game where your robots take turns for you.
You can check out more about the game and its rules over on the Web Bot Battle site. It defines how your bots should act and even has some examples for you to work from.
voice your opinion now!
webbotbattle beta game script complete battle turnbased
Pádraic Brady's Blog: Extending the Mapper Stars and Planets
by Chris Cornutt October 23, 2006 @ 14:17:00
Pádraic Brady is back today with another update on the game he's working on and his latest addition - the stars and planets ("bodies").
Planets and Stars ("Bodies") form the central hub around which the majority of a player's activity will center. This planning document addresses the generation and mapping of these entities, and not their individual contents, facilities or uses.
He breaks it down into a few steps:
- Laying a Foundation
- Adding Stars
- Skeleton Map_Star Interfaces
- Implementing the Map_Star Interfaces
- Position Random
- Generate Simple
- Conclusion
The end result is a system for positioning stars and providing all of the star's data to the user.
voice your opinion now!
game star planet bodies tutorial game star planet bodies tutorial
Pádraic Brady's Blog: Redux First Official Code!
by Chris Cornutt October 19, 2006 @ 08:28:00
In the continuing development of his online PHP-based game, Pádraic Brady has created a simple class to help with mapping out the objects/structures in the game. He shares the code for this in his latest blog post.
The code sets the stage for the Redux mapping system. Basically, we're aiming at a grid-based map with each grid coordinate representing a Sector.
Right now, it's just a skeleton structure, but it already has some of the key bits of functionality in place. The Redux_Map class manages the requests coming back and forth between the client and server, and the Redux_Map_Grid class helps to generate a grid structure of the objects found in that sector.
He even includes the unit tests for testing the Redux_Map_Grid class to ensure everything's in tip top shape. Next on his list is adding actual entities to the game - planets, facilities, etc.
voice your opinion now!
game online skeleton class grid map manager game online skeleton class grid map manager
Professional PHP Blog: PHP Games
by Chris Cornutt April 07, 2006 @ 06:52:42
From the Professional PHP site today, there's an interesting new post about a game the author found (via digg) of "Heroes of Might and Magic" online minigame. What makes it even cooler? It's written in PHP and uses Prototype and Scriptaculous for the interface.
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.
The game is a bit less overloaded now, but still a bit slow. The interface is wonderfully done, and easy to understand. It's great to see the popular pairing of Ajax and PHP starting to show up in commercial applications, too.
voice your opinion now!
game ajax heroes of might and magic minigame prototype scriptaculous game ajax heroes of might and magic minigame prototype scriptaculous
|
Community Events
Don't see your event here? Let us know!
|