Skip to content

mminn20/ObjectOrientedProgramming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📖 Object Oriented Programming 객체지향프로그래밍 과제


1. Lab Project 0 - 2048 Game

📌 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 :
  1. Two tiles of the same value merge into one tile containing double the initial number.

  2. A tile that is the result of a merge will not merge again on that tilt.
    → 이동 후 같은 수를 가진 타일이 2개가 되어도, 그 턴은 이동이 주 목적이어서 바로 더해지지 않는다.

  3. 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.
    → 이동방향의 행/열과 가장 근접한 두 타일이 합쳐지고, 가장 먼 하나의 타일은 더해지지 않는다.



2. Lab Project 1 - 자료구조 구현 (Deque, LinkedListDeque, ArrayDeque, MaxArrayDeque)

📌 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published