Code Monkey home page Code Monkey logo

tennisgame's Introduction

桌球游戏

本实现中:

  1. 配置文件中的摩擦力值是一个乘法因子。该值越小,摩擦力越小。过高的值会让球无法移动。有效范围: 0 < friction < 1
  2. 尽管击球时,拖动显示的线可以任意长,实际作用的力有个最大值。
  3. 球的中心必须进入球袋的范围,而不仅是它们的矩形边界接触,才认为球入袋。

命令说明

  • 运行 gradle run 将使用 resources 文件夹中的默认配置文件。使用 gradle run --args="${CONFIG_PATH}" 来加载自定义配置文件。
  • 运行 gradle javadoc 可以生成自动文档。

tennisgame's People

Contributors

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