Results 1 to 6 of 6

Thread: Java Help

  1. #1
    Starter
    Points: 21,493, Level: 44
    Level completed: 83%, Points required for next Level: 157
    Overall activity: 2.0%
    Achievements:
    Veteran10000 Experience Points

    Join Date
    Dec 2008
    Location
    515 via 712
    Posts
    971
    Points
    21,493
    Level
    44
    Thumbs Up
    Received: 2
    Given: 0

    Java Help

    Writing code for a basic version of the Snake game in Java.

    W, A, S, and D are the arrows Up, Left, Down, and Right. Currently my code makes the user press enter after the letter is pressed. Is there any simple way to make it so enter doesn't need to be pressed?

    TIA.



  2. #2
    Pro
    Points: 122,211, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 6.0%
    Achievements:
    Veteran50000 Experience Points
    IowaStateClones's Avatar
    Join Date
    Dec 2009
    Posts
    2,109
    Points
    122,211
    Level
    100
    Thumbs Up
    Received: 126
    Given: 46

    Re: Java Help

    genaral snake game in java

    This could help



  3. #3
    Starter
    Points: 21,493, Level: 44
    Level completed: 83%, Points required for next Level: 157
    Overall activity: 2.0%
    Achievements:
    Veteran10000 Experience Points

    Join Date
    Dec 2008
    Location
    515 via 712
    Posts
    971
    Points
    21,493
    Level
    44
    Thumbs Up
    Received: 2
    Given: 0

    Re: Java Help

    Good find.



  4. #4
    Hall-Of-Famer
    Points: 46,281, Level: 66
    Level completed: 53%, Points required for next Level: 669
    Overall activity: 0%
    Achievements:
    Social25000 Experience PointsVeteran
    Cy4Patriots's Avatar
    Join Date
    Jan 2011
    Posts
    3,550
    Points
    46,281
    Level
    66
    Thumbs Up
    Received: 2
    Given: 16

    Re: Java Help

    Com Sci 227?



  5. #5
    Starter
    Points: 21,493, Level: 44
    Level completed: 83%, Points required for next Level: 157
    Overall activity: 2.0%
    Achievements:
    Veteran10000 Experience Points

    Join Date
    Dec 2008
    Location
    515 via 712
    Posts
    971
    Points
    21,493
    Level
    44
    Thumbs Up
    Received: 2
    Given: 0

    Re: Java Help

    Quote Originally Posted by Cy4Patriots View Post
    Com Sci 227?
    Yes sir.



  6. #6
    Hall-Of-Famer
    Points: 46,281, Level: 66
    Level completed: 53%, Points required for next Level: 669
    Overall activity: 0%
    Achievements:
    Social25000 Experience PointsVeteran
    Cy4Patriots's Avatar
    Join Date
    Jan 2011
    Posts
    3,550
    Points
    46,281
    Level
    66
    Thumbs Up
    Received: 2
    Given: 16

    Re: Java Help

    Quote Originally Posted by TitanClone View Post
    Yes sir.
    Gotta love it.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • TV: FOX
  • Iowa State vs. Baylor
  • September 27, 2014
  • 07:20 PM