You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OOP/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ An adaptation of the Zombie-House game using Object-Oriented Programming concept
7
7
There are many good resources for learning OOP. These examples are based on a course developed by the Raspberry Pi Foundation:
8
8
[Object-oriented Programming in Python: Create Your Own Adventure Game](https://www.futurelearn.com/courses/object-oriented-principles). This is a free course and enrollment is open several times a year.
9
9
10
-
This library contains classes that can be used to create objects in the game such as rooms and items to be placed into the player's inventory. By using the Adventurelib library, you are beginning to learn the use of Object-Oriented Programming.
10
+
In the original Zombie House game, information about the rooms, items in a room and non-playable characters were stored inside a Python dictionary. With OOP, these components of the game are created by constructing an instance of each object contained within a Class. Each object that is created can have attributes (exits in a room, types of items in a room, friendly and enemy characters).
0 commit comments