Skip to content

raulriera/TurtlePlayground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

TurtlePlayground

Swift playground using Logo-like commands

A few preliminary notes:

  • This playground requires the new playground format and features released in Xcode 6.3 beta 3. This version requires Yosemite.
  • This format is still in beta and playgrounds can crash or seem to disappear from time to time. The current fix suggested by Apple is to show the package contents of the playground and delete the workspace.
  • Type the word "turtle" in the playground. You should see "Turtle" on the right. Mouse over it and you will see the quick look icon and the value history. Click on the value history. You should see a rectangle with a turtle's head (>) in the middle.
  • Make the turtle move by typing in "forward()". Make the turtle turn by typing in "right()".
  • Create routines and your own functions.

I am working on a book that will serve as a tutorial using this playground. It will be available soon.

This project is presented without any sort of warranty - use at your own risk.

About

Swift playground using Logo-like commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%