We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6456768 commit 543fed0Copy full SHA for 543fed0
3 files changed
Refactoring/refactoring_5_inheritance.py
@@ -4,7 +4,7 @@
4
Each player takes turn rolling a die and moving that number of spaces.
5
The first person to space 100 wins.
6
7
-Object-oriented with a Player and Game objects
+Object-oriented with a LuckyPlayer and Game objects
8
"""
9
import random
10
bike_example.py
@@ -0,0 +1,14 @@
1
+"""
2
+Bike class for use in a retail shop
3
+
+if __name__ == '__main__':
+ # Create bike
+ # Update sale price
11
+ # Sell bike
12
13
+ # Determine profit
14
+ pass
game_refactoring.py
@@ -0,0 +1,10 @@
+Simulate a simple board game.
+There are 2 players.
+Each player takes turn rolling a die and moving that number of spaces.
+The first person to space 100 wins.
0 commit comments