> For the complete documentation index, see [llms.txt](https://infinitybot.gitbook.io/infinitybot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitybot.gitbook.io/infinitybot-docs/games/game-hub/pac-man.md).

# Pac-Man

### Gameplay

This game is based on the original Pac-Man Game. The game takes place in one of Cyber City's arcade machines where you need to navigate the maze, avoid the ghosts, and gain XP.

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2Fq9AcTGuEbNorH6BkAFvZ%2Fezgif-5bdcc66b3b992221.gif?alt=media&amp;token=5baafbb3-2d8b-4a76-8a9f-6eda7a65ba6e" alt=""><figcaption></figcaption></figure>

### Controls

| Key                         | Action   |
| --------------------------- | -------- |
| <kbd>W</kbd> / <kbd>↑</kbd> | Go up    |
| <kbd>S</kbd> / <kbd>↓</kbd> | Go down  |
| <kbd>A</kbd> / <kbd>←</kbd> | Go left  |
| <kbd>D</kbd> / <kbd>→</kbd> | Go right |
| <kbd>P</kbd>                | Pause    |
