Coder Social home page Coder Social logo

cpptetris's Issues

간헐적으로 블럭이 나타나지 않음

image
이 경우 소프트 드롭은 무한정 계속할 수 있으나 하드 드롭시 프로그램이 멈추다가 아래와 같은 오류 발생:

image
문제 발생 위치 상 동적할당 문제인 것으로 판단됨.

회전 중 타이머 관련 개선 필요

충돌 직전상태에서 회전시키면 1회에 한해서 타이머를 초기화 해주는 것으로 개선 필요할 것으로 보임. 충돌직전에 회전시키다가 예상보다 빠르게 고정되어 불만족스러운 경험 발생.

테트로미노 순간이동

image

위 이미지처럼 회전 안 되는게 맞는데 테트로미노를 뚫고 이동하는 문제 발생. 회전 후 충돌 발생시 좌우로 옮겨보는 로직 때문에 발생하는 문제인데 이 로직을 없애면 회전시 발생하는 충돌에 대비하기 힘듦. 다른 방법의 구현이 필요할 것으로 보임.

낙하 가이드 기능 추가

image
위 이미지처럼 테트로미노가 낙하할 지점에 가이드를 추가하면 플레이어의 실수를 줄일 수 있을 것으로 생각됨.

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.