Skip to content

object oriented mode #60

Description

@darvin

Object Oriented mode

Make 2 modes in application:
Procedure - current
Object Oriented.
It will be swiched in menu (?)

When OO mode is swiched, turtle widget blanks.
then we can use OO approach:

mike = Turtle()
mike.go(30)
mike.turn(60)

gandalf = Turtle(x=50, y=40)
gandalf.go(90)


class JumpingTurtle(Turtle):
     def jump(self):
          self.go(50)

 froggy = JumpingTurtle()
 froggy.jump()

It will be coolest education application ever!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions