📌 Lab Project 0 과제 설명 정리
📌 Lab Project 0 구현 결과 정리
📌 Github 레포지토리 경로
Lab 0 프로젝트의 주요 과제는 2048 게임을 완성하는 것입니다.
Model, emptySpaceExists, maxTileExists, atLeastOneMoveExists, tilt 를 구현하고, 테스트를 통과해야 합니다.
Main tasks of the Lab Project 0 is to modify and complete the game 2048.
Especially, the model class, and the following methods - emptySpaceExists , maxTileExists , atLeastOneMoveExists and tilt.
As you might know, game rules of the 2048 go like this :
-
Two tiles of the same value merge into one tile containing double the initial number.
-
A tile that is the result of a merge will not merge again on that tilt.
→ 이동 후 같은 수를 가진 타일이 2개가 되어도, 그 턴은 이동이 주 목적이어서 바로 더해지지 않는다. -
When three adjacent tiles in the direction of motion have the same number, then the leading two tiles in the direction of motion merge, and the trailing tile does not.
→ 이동방향의 행/열과 가장 근접한 두 타일이 합쳐지고, 가장 먼 하나의 타일은 더해지지 않는다.
📌 Lab Project 1 과제 설명
📌 Lab Project 1 구현 결과 정리
📌 Github 레포지토리 경로
Lab Project 1의 주요 과제는 자료구조를 구현하는 것입니다.
Deque, LinkedListDeque, ArrayDeque, MaxArrayDeque 자료구조를 직접 구현하고, 테스트를 작성했습니다.
For lab project 1, you should implement your own data structure.
Implement an interface Deque, then create a LinkedListDeque class and an ArrayDeque class that implements the Deque interface, and a MaxArrayDeque class extends ArraryDeque.