Skip to content
This repository was archived by the owner on May 21, 2021. It is now read-only.
This repository was archived by the owner on May 21, 2021. It is now read-only.

Define a game map, instead of a grid #3

@emmenko

Description

@emmenko

Obviously a Pacman game uses a map 🤓

A map is based on top of our grid system and it basically means that certain movements are not permitted.

Acceptance criteria

  • Pacman (and Ghosts) can only run on the map paths
  • Fruits can only be spawn within the map paths
  • Movements towards a "dead end" will result in a stale position until an allowed movement is performed (e.g. going down, there is a wall and you can only turn left or right)
  • The map should allow a couple of "tunnels", to continue the movement from the opposite side

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions