compute_ghost_status: Compute Ghost Status

Description Usage Arguments Value

View source: R/compute_ghost_status.R

Description

Compute a ghost status, i.e., normal, weak or eaten.

Usage

1
compute_ghost_status(ghost, pacman_moves, bonus_points_eaten)

Arguments

ghost

A data.frame with the coordinates of Ghost moves.

pacman_moves

Pac-Man computed moves.

bonus_points_eaten

Computed datga for points eaten by Pac-Man.

Value

Returns a tibble with ghost status as a column along side coordinates.


ggpacman documentation built on July 1, 2020, 11:11 p.m.