Skip to main content
edited tags
Link
Pimgd
  • 22.3k
  • 5
  • 66
  • 144
Tweeted twitter.com/#!/StackCodeReview/status/484339430170591232
deleted 1 character in body; edited tags
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

Coming from a Java background, this is my first JavaScript-only game. Looking I'm looking for some advice on what to improve.

Also, I'm having trouble when it comes to program design, sometimes. Sometimes I don't know if I should write class-like code or just plain functions, how. How does one go about deciding on this?

code of the snake: githubCode of the snake:

Coming from a Java background, this is my first JavaScript-only game. Looking for some advice on what to improve.

Also, I'm having trouble when it comes to program design, sometimes I don't know if I should write class-like code or just plain functions, how does one go about deciding on this?

code of the snake: github

Coming from a Java background, this is my first JavaScript-only game. I'm looking for some advice on what to improve.

Also, I'm having trouble when it comes to program design. Sometimes I don't know if I should write class-like code or just plain functions. How does one go about deciding on this?

Code of the snake:

deleted 1 character in body; edited title
Source Link
Marc-Andre
  • 6.7k
  • 5
  • 38
  • 65

basic Basic snake game. critics on program design and overall flow needed

comingComing from a javaJava background, this is my first javascriptJavaScript-only game. Looking for some advicesadvice on what to improve.

basic snake game. critics on program design and overall flow needed

coming from a java background, this is my first javascript-only game. Looking for some advices on what to improve.

Basic snake game

Coming from a Java background, this is my first JavaScript-only game. Looking for some advice on what to improve.

Source Link
acera
  • 105
  • 1
  • 6
Loading