Coder Social home page Coder Social logo

puzzle_game's Introduction

슬라이딩 퍼즐(Sliding puzzle)

퍼즐 조각을 움직여서 원래의 그림처럼 순서대로 맞추는 게임
MFC를 이용한 Visual C++를 공부하고 배운 것들을 종합하여 제작
캡처

게임규칙

  • 퍼즐 판은 정사각형 모양으로 배열된 구조이며, 틀 안에 조각판을 옮길 수 있는 빈칸 하나가 존재한다.
  • 퍼즐 조각은 상하좌우로만 움직일 수 있으며, 퍼즐 조각을 들어올리거나 틀을 분해할 수 없다.
  • 단 하나의 빈 칸을 제외하면 조각판들끼리 서로의 움직임이 제한된다.
  • 제한시간 동안 빈 칸을 제외한 모든 퍼즐 조각이 원래의 그림에 맞게 위치하게 되면 게임에서 승리한다.

상세 기능

좌측 상단의 메뉴를 통해서 퍼즐의 그림과 모드 그리고 난이도를 설정할 수 있으며, 모드와 난이도에 따라 퍼즐 판의 크기와 제한시간이 달라진다. 각 모드와 난이도별 퍼즐 판의 크기와 제한시간은 아래의 표와 같다. 게임 플레이 중 퍼즐 판의 우측에 있는 힌트보기 버튼을 눌러 완성된 퍼즐의 그림을 확인할 수 있다. 그리고 힌트보기 버튼 아래에 경과시간과 퍼즐을 움직인 횟수를 확인할 수 있다.

게임모드 난이도 퍼즐 판 크기 제한시간
연습모드 초급 3 X 3 없음
중급 4 X 4 없음
고급 5 X 5 없음
도전모드 초급 3 X 3 5분
중급 4 X 4 7분
고급 4 X 4 7분
최고급 5 X 5 5분

게임을 클리어하면 경과시간과 퍼즐 조각을 이동한 횟수를 팝업으로 알려주며 게임종료 캡처

제한 시간안에 게임을 클리어하지 못하면 메시지가 팝업되며 게임종료 캡처

puzzle_game's People

Contributors

yc7764 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.