Code Monkey home page Code Monkey logo

billiards's Introduction

Billiards

Four-ball Billiards Pygame in 2020

Recently updated: 2022/7/25

capture_gif

Required Python Modules

pygame
pygame_gui
numpy

Download modules with 'pip install ~'

History

version 0.0 | 2020/7/8 ~ 2020/7/11

  - 공과 공, 공과 벽 충돌
  - 큐대 회전 및 힘조절

version 1.0 | 2020/7/15~2020/7/18

  - 마우스로 큐대 조작
  - 공이 충돌할때 겹치는 현상 제거
  - 배경 이미지 추가
  - 예외 상황 처리 및 최적화

version 2.0 | 2020/7/31~2020/8/1

  - 턴 및 점수 추가
  - 메인 화면 추가
  - 승패 결정 및 점수 기록

version 3.0 | 2022/7/25

  - 행렬과 좌표변환을 이용한 충돌 모션 개선
  - 에러 수정

Further Reading...

2차원 비탄성 충돌 문제 - 어떻게 해결했는가. - NAVER blog

Elastic collision - Wikipedia

billiards's People

Contributors

000wan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

shahhimtest

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.