Skip to content

Implement Game.swift to represent current game state #6

@CtrlShiftGo

Description

@CtrlShiftGo

Class Specification

Attributes

  • Instance of a Server.swift class to handle connections to the server
  • List of player on map
  • List of dots on map
  • Pacman's current state
  • Current Player ID
  • Current Player Type

Get

  • List of visible dot coordinates
  • List of visible player coordinates

Set

  • Request updated information from server
  • Check for pellet/dot collision (to see if the player has scored a point or should have a power up)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions