Skip to content

noob20000405/-billiards_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

billiards_game

final java project using the 8-balls rules 文档不想更新了,期末考试了 截图 image

几个没来得及实现的点

  • 全都是弹性正碰
  • 没有考虑三个及以上的球同时碰撞的情况

以下文本全没更新

basic rules

  • two player
  • seven solid balls numbered 1 - 7, seven striped balls numbered 9 - 15, an 8 ball, and a cue ball(white ball)
  • 一人击1 - 7号球, 另一人击9 - 15号, 完成该任务后击打8号球入袋者获胜

class list

  • Table.java
  • Border.java
  • Ball.java
    • Solid.java

      1 - 7号球

    • striped.java

      9 - 15号球

    • CueBall.java

      白球(母球)

    • Nb8.java
  • Cue.java

    球杆

  • Player.java
  • Menu.java

    GUI的菜单

  • Button.java

    菜单上的按钮

  • Global.java
  • GameStart.java

    main所在地

要求

image

About

Final java project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages