compute_ghost_status: Compute Ghost Status

View source: R/compute_ghost_status.R

compute_ghost_statusR Documentation

Compute Ghost Status

Description

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

Usage

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.


mcanouil/ggpacman documentation built on Dec. 10, 2022, 12:29 p.m.