Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Game.swift to represent current game state #6

Open
CtrlShiftGo opened this issue Jul 11, 2016 · 1 comment
Open

Implement Game.swift to represent current game state #6

CtrlShiftGo opened this issue Jul 11, 2016 · 1 comment
Assignees
Milestone

Comments

@CtrlShiftGo
Copy link
Contributor

CtrlShiftGo commented Jul 11, 2016

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)
@CtrlShiftGo CtrlShiftGo added this to the release-0.1.0 milestone Jul 11, 2016
@CtrlShiftGo CtrlShiftGo self-assigned this Jul 11, 2016
@jleung51
Copy link
Member

jleung51 commented Jul 11, 2016

For reference and clarification:

  • The server is located at Heroku.
  • Pacman's current state will be a combination of the GameState and the PacmanState.
  • The application will send information to the server about whether collision has occurred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants