Tag: AI
-
Playdate 9
In day 8 I added an enemy ghost, but one with no brain – it just bumbled randomly around the maze: Time for some very simple AI. In real Pacman the three ghosts have different chasing strategies, but I thought I’d go for something very simple, from first principles – a ghost that chases straight…
-
Playdate 8
I’ve been a bit distracted this week, wrangling Safari extensions in Xcode, but now back to the maze. Today I wanted to get an enemy moving around on its own. Things I learned doing this: First, you can do a test for boolean true or false – but there’s no === operator, and lots of…