일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- !==
- Swift
- 스위프트공부
- ios개발자
- 값올리기
- 프로그래머스 문제 풀이
- 프로그래머스
- swiftlanguage
- 플레이그라운드 문제풀이
- ==
- 스위프트
- string from
- html
- c언어
- 추적하기
- binary operator
- ios
- 이노베이션아카데미
- 플레이그라운드
- 42에꼴
- 라피신
- playgrounds
- ===
- 맥
- unary operator
- 42ecole
- ternary operator
- 짝수와 홀수
- 두 정수 사이의 합
- string(from)
Archives
- Today
- Total
minError
PlayGrounds [ 포털 켜기 및 끄기 ] 본문
purplePortal.isActive = true
while !isBlocked {
moveForward()
while isOnGem {
collectGem()
if isBlocked {
turnLeft()
turnLeft()
purplePortal.isActive = false
}
}
if isOnClosedSwitch {
toggleSwitch()
purplePortal.isActive = true
turnLeft()
turnLeft()
}
}
'PlayGround > 코딩배우기 2' 카테고리의 다른 글
PlayGrounds [ 포털 비활성화 하기 ] (0) | 2020.03.04 |
---|---|
PlayGrounds [ 총 개수 모으기 ] (0) | 2020.02.27 |
PlayGrounds [ 스위치 모으기 ] (3) | 2020.02.27 |
PlayGrounds [ 동일한 값 확인하기 ] (0) | 2020.02.27 |
PlayGrounds [ 3개의 보석, 4개의 스위치 ] (0) | 2020.02.27 |
Comments