hi master,
i have a problem on the "learn to code2" that sounds like a bug. in the 5th part called in french " Création du monde" or World Creation, episode "îles flottantes " (or maybe floating islands): after creating the world, the character doesn't want to move and no error is reported. I've tried everything like turnLeft etc...
Maybe i forgot something...
Can you help me please ?
Here's my code :
let character = Character()
let redPortal = Portal(color: #colorLiteral(red: 0.925490200519562, green: 0.235294118523598, blue: 0.10196078568697, alpha: 1.0))
let greenPortal = Portal(color: #colorLiteral(red: 0.341176480054855, green: 0.623529434204102, blue: 0.168627455830574, alpha: 1.0))
world.place(Character(), facing: south, atColumn: 3, row: 3)
world.place(Stair(), facing: north, atColumn: 3, row: 2)
world.place(Block(), atColumn: 3, row: 1)
world.place(Block(), atColumn: 5, row: 3)
world.place(Block(), atColumn: 7, row: 3)
world.place(Block(), atColumn: 7, row: 5)
world.place(Block(), atColumn: 7, row: 4)
world.place(Block(), atColumn: 3, row: 0)
world.place(Block(), atColumn: 1, row: 6)
world.place(redPortal, atStartColumn: 3, startRow: 0, atEndColumn: 6, endRow: 6)
world.place(greenPortal, atStartColumn: 7, startRow: 5, atEndColumn: 3, endRow: 7)
world.place(Stair(), facing: west, atColumn: 2, row: 0)
world.place(Stair(), facing: east, atColumn: 2, row: 7)
world.place(Block(), atColumn: 1, row: 2)
world.place(Stair(), facing: north, atColumn: 5, row: 5)
world.place(Stair(), facing: south, atColumn: 7, row: 4)
character.moveForward()
Thanks !