Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
Classic Games (Games)

Pac-Man's Ghost Behavior Algorithms 194

An anonymous reader writes "This article has a very interesting description of the algorithms behind the ghosts in Pac-Man. I had no idea about most of this information, but that's probably because it's difficult to study the ghosts when I die every 30 seconds. Quoting: 'The ghosts are always in one of three possible modes: Chase, Scatter, or Frightened. The "normal" mode with the ghosts pursuing Pac-Man is Chase, and this is the one that they spend most of their time in. While in Chase mode, all of the ghosts use Pac-Man's position as a factor in selecting their target tile, though it is more significant to some ghosts than others. In Scatter mode, each ghost has a fixed target tile, each of which is located just outside a different corner of the maze. This causes the four ghosts to disperse to the corners whenever they are in this mode. Frightened mode is unique because the ghosts do not have a specific target tile while in this mode. Instead, they pseudorandomly decide which turns to make at every intersection.'"
Image

Cooking With Your USB Ports 188

tekgoblin writes "Wow, I would never have thought to try and cook food with the power that a standard USB port provides, but someone did. A standard port provides 5V of power, give or take a little. I am not even sure what it takes to heat a small hotplate, but I am sure it is more than 5V. It looks like the guy tied together around 30 USB cables powered by his PC to power this small hotplate. But believe it or not, it seems to have cooked the meat perfectly."
Idle

Steampunk Con Mixes In More Maker Fun 50

California has once again been blessed with another steampunk convention, this time to be held in Emeryville, CA on March 12-14 as the "Nova Albion Steampunk Exhibition." This year's event promises to mix in much more of the DIY/maker flavor for a greater hands-on feel. Steampunk has been gaining much broader appeal in recent months with the continued growth of maker communities, and the many delightful varieties of music and literature. The con will feature, among other things, a 2 day track of 2-hour how-to, hands-on, and interactive workshops gear towards makers, DIY-ers, mad scientists, and evil geniuses. Of course, if you are an evil genius you probably don't need a workshop except as a gathering for potential test subjects.

Slashdot Top Deals

The F-15 Eagle: If it's up, we'll shoot it down. If it's down, we'll blow it up. -- A McDonnel-Douglas ad from a few years ago

Working...