Coder Social home page Coder Social logo

mokhwasomssi / fpga_dang9 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from js4ngu/dang9_fpga

1.0 0.0 0.0 56.33 MB

[디지털 시스템] 전공수업 팀프로젝트 - 게임 만들기

Verilog 31.46% VHDL 10.76% Pascal 0.10% SystemVerilog 41.49% Shell 8.04% Stata 0.63% Forth 0.14% Tcl 3.31% JavaScript 3.98% Batchfile 0.10%

fpga_dang9's Introduction

FPGA_Dang9

[디지털 시스템] 전공과목 팀프로젝트 - 게임 만들기

팀프로젝트

  • 팀원 A, B

개발 환경

  • Vivado 2018.2
  • ZedBoard Zynq Evaluation and Development Kit

작동 영상

게임 이름

  • 알까기 당구

게임 규칙

  • 노란공 : 플레이어1, 빨간공 : 플레이어2
  • 상대방 공을 홀에 집어 넣어야 승리
  • 자기 공 들어가면 패배

조작법

  • 본인 차례에 키패드를 이용하여 발사 각도와 발사 속력을 조절
  • 조절 후 발사

공 모션

  • 당구 역학은 적용하지 못함 (삼각함수 사용X)
  • 속력과 각도에 대응하는 x축 속력과 y축 속력 테이블을 만들어 놓음
    • input : 속력, 각도
    • output : x축 속력, y축 속력
  • 공끼리 충돌 시 움직이는 공의 속도 정보를 부딪친 공에 그대로 인가
  • 공의 속도는 시간에 비례하여 일정하게 줄어들음
  • 정지 직전에 직선운동을 하는 이유는 x축과 y축 속력 중 하나가 먼저 0에 수렴하기 때문
    • x축이나 y축 성분 하나가 0일 때 움직임을 멈추는 방식으로 구현한다면 좀 더 자연스러운 표현이 가능했을 것

fpga_dang9's People

Contributors

js4ngu avatar mokhwasomssi avatar

Stargazers

 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.