Quantcast
Haining Henry Zhang

Biography

Haining is a technologist whose expertise is in the development of internet applications. He started to write computer games when he was a little child. Over the years, he has accumulated profound knowledge in various programming languages, such as Java, C/C++, VB, Fortran and Pascal. Most recently, he has been working at Sun Microsystems as a senior solution architect to design and build mission-critical applications for enterprise customers. Prior to Sun, Haining was a J2EE application developer working at IBM Canada.

Haining holds a M.Sc. and a B.Sc. in Computer Science. Some of his current interest includes internet related technologies such as search engines, RIA, behavior of web users, and human-computer interaction.

Blog

Recent Posts | All Posts

Writing the Pac-Man Game in JavaFX - Part 5

June 12 2009

In previous articles, we finished writing most of the code of the Pac-Man game. In article 3, we implemented a simple algorithm for the ghosts to catch the Pac-Man. The ghosts randomly decides in which direction they move. They do not chase the Pac-Man even they are very close to… read more

Writing the Pac-Man Game in JavaFX - Part 4

June 02 2009

In the last article, we developed a preliminary version of the Pac-Man game. Four ghosts are randomly roaming the maze and a Pac-Man character can be controlled by a player. Now, we write some more code for the interaction between ghosts and the Pac-Man: Pac-Man eats a ghost after he… read more

Writing the Pac-Man Game in JavaFX - Part 3

May 25 2009

We are now ready to create the ghosts in our game. The four ghosts, namely Blinky(red), Pinky(pink), Inky(cyan) and Clyde(orange), are trapped inside a cage when a game starts. After some time, they get out of the cage one by one and start roaming the maze. Their goal is to catch… read more

Writing the Pac-Man Game in JavaFX - Part 2

May 14 2009

In last article, we designed a data model and drew a maze with dots spread into the maze. Now we are ready to create the Pac-Man character. The Pac-Man character is controlled by the game player to move around the maze. While he is moving, he keeps gobbling dots along the… read more

Writing the Pac-Man Game in JavaFX - Part 1

May 10 2009

When I was young I was fascinated by arcade games. One of my favorites was the Pac-Man game.  Recently, when I was learning the JavaFX language, I decided to write the game in JavaFX.  Based on my experience in other programming languages, I assumed there would be some amount of… read more

Recent Posts | All Posts

Haining Henry Zhang