Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulT89 authored and BethanyG committed Feb 17, 2022
1 parent 3d9900e commit adae936
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
14 changes: 5 additions & 9 deletions exercises/concept/ellens-alien-game/.meta/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The goal of this exercise is to introduce the student to the concept of classes.
- `class-customiation`, including `@classmethod` & `@staticmethod`
- `@property` decorator, getters, and setters
- class members & non-public methods
- `class-inheritance`, `multiple-inheritance`, `__super()__`, class mixins
- `class-inheritance`, `multiple-inheritance`, `__super()__`, class mix-ins
- `class-composition`
- `dataclasses`
- performance considerations
Expand Down Expand Up @@ -58,11 +58,7 @@ These are the concepts/concept exercises the student needs to complete/understan

## Resources

- [classes (Python tutorial)]
(https://docs.python.org/3/tutorial/classes.html)
- [Python Data Model - Python Docs]
(https://docs.python.org/3/reference/datamodel.html#the-standard-type-hierarchy)
- [Real Python: Object-Oriented Programming in Python 3]
(https://realpython.com/python3-object-oriented-programming/)
- [DO: How To Construct Classes & Objects in Python 3]
(https://www.digitalocean.com/community/tutorials/how-to-construct-classes-and-define-objects-in-python-3)
- [Classes (Python tutorial)](https://docs.python.org/3/tutorial/classes.html)
- [Python Data Model - Python Docs](https://docs.python.org/3/reference/datamodel.html#the-standard-type-hierarchy)
- [Real Python: Object-Oriented Programming in Python 3](https://realpython.com/python3-object-oriented-programming/)
- [DigitalOcean: How To Construct Classes & Objects in Python 3](https://www.digitalocean.com/community/tutorials/how-to-construct-classes-and-define-objects-in-python-3)
6 changes: 3 additions & 3 deletions exercises/concept/ellens-alien-game/.meta/exemplar.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ class Alien:
Attributes
----------
(class)total_aliens_created: int
x_coordinate int - position on the x-axis
x_coordinate: int - position on the x-axis
y_coordinate: int - position on the y-axis
health : int - amount of helath points
health: int - amount of helath points
Methods
-------
hit(): Decrements Alien health by one point.
is_alive(): Returns a boolena for if Alien is alive.
teleport(new_x_coordinate, new_y_coordinate): Moves Alien to new coordinates.
collision_detection: Implementation TBD.
collision_detection(other): Implementation TBD.
"""

total_aliens_created = 0
Expand Down

0 comments on commit adae936

Please sign in to comment.