Skip to main content
replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
Source Link

This post is a follow-up to Simple Pong gameSimple Pong game

This post is a follow-up to Simple Pong game

This post is a follow-up to Simple Pong game

deleted 50 characters in body; edited tags
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

I took the some advice from the previous post and I'm almost done with cleaning up the code. I I didn't make any wrapper classes, because my game is already waaaay overkill for this assignment, but I did add more methods and fixed naming.

Are there any rules regarding method order? Like, like alphabetical, or in order of appearance/usage?

Part of the code is not working properly yet, so I put it in comment /* [...] */

EDIT:

Updated updateScores(); method.

I took the some advice from previous post and I'm almost done with cleaning up the code. I didn't make any wrapper classes, because my game is already waaaay overkill for this assignment, but I did add more methods and fixed naming.

Are there any rules regarding method order? Like alphabetical, or in order of appearance/usage?

Part of the code is not working properly yet, so I put it in comment /* [...] */

EDIT:

Updated updateScores(); method

I took the some advice from the previous post and I'm almost done with cleaning up the code. I didn't make any wrapper classes, because my game is already waaaay overkill for this assignment, but I did add more methods and fixed naming.

Are there any rules regarding method order, like alphabetical, or in order of appearance/usage?

Part of the code is not working properly yet, so I put it in comment /* [...] */.

added 4 characters in body
Source Link
Asalas77
  • 357
  • 1
  • 6
added 99 characters in body
Source Link
Asalas77
  • 357
  • 1
  • 6
Loading
deleted 171 characters in body
Source Link
Asalas77
  • 357
  • 1
  • 6
Loading
added 152 characters in body
Source Link
Asalas77
  • 357
  • 1
  • 6
Loading
Source Link
Asalas77
  • 357
  • 1
  • 6
Loading