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

[2.25pt]Create a Game class in a separate .rb file. - Student C #15

Open
OLIPLICHE opened this issue Nov 29, 2021 · 0 comments
Open

[2.25pt]Create a Game class in a separate .rb file. - Student C #15

OLIPLICHE opened this issue Nov 29, 2021 · 0 comments
Assignees

Comments

@OLIPLICHE
Copy link
Collaborator

OLIPLICHE commented Nov 29, 2021

  • All Game class properties visible in the diagram should be defined and set up in the constructor method.

  • Implement the method can_be_archived?():

    1. should override the method from the parent class
    2. should return true if parent's method returns true AND if last_played_at is older than 2 years.
    3. otherwise, it should return false
    
@OLIPLICHE OLIPLICHE self-assigned this Nov 29, 2021
@OLIPLICHE OLIPLICHE changed the title Create a Game class in a separate .rb file. [0.5pt]Create a Game class in a separate .rb file. Nov 29, 2021
@OLIPLICHE OLIPLICHE changed the title [0.5pt]Create a Game class in a separate .rb file. [0.5pt]Create a Game class in a separate .rb file. - Student C Nov 29, 2021
@OLIPLICHE OLIPLICHE changed the title [0.5pt]Create a Game class in a separate .rb file. - Student C [2.25pt]Create a Game class in a separate .rb file. - Student C Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant