Coding Fun Java Coding a Simple Snake Game Using Java

Coding a Simple Snake Game Using Java





While waiting for my other projects to compile I got bored and messed around a bit with Java. I made a very simple Snake game using java, it’s not finished yet but I ran out of time so I didn’t fix the bugs. It took me a little over an hour to do it, including coffee breaks.

If you enjoyed this video please leave a like and don’t forget to subscribe to get updated on my future videos. If you have any questions or suggestions leave them in the comments below.

Leave a comment below if…

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

11 thoughts on “Coding a Simple Snake Game Using Java”

  1. what i thought this would be

    package Snake;

    import java.util.Scanner;

    public class SnakeGame{
    public static void main(String[] args){
    System.out.println("Hey there user this is a Snake game!");
    double goLeft, goRight, goUp, goDown, game;
    Scanner kbd=new Scanner(System.in);

    goLeft=kbd.nextDouble();
    goRight=kbd.nextDouble();
    goUp=kbd.nextdouble();
    goDown=kbd.nextDouble();

    kbd.close();

    }
    }

    (*SORRY GUYS IAM A NOOB IN PROGRAMMING STILL LEARNING IK THIS ALL DOESN'T MAKE ANY SENSE*)

  2. Lucavon says:

    You could have made it so much simpler though…

  3. Teleshopping says:

    Im new to Java and want to learn coding with it. Could u do me the favor and send me the code so I can understand your doings better?

  4. can i get the source code plz

  5. hi can i have the source code

  6. hejsaandu1 says:

    Hey can I please get the code 🙂

  7. Naveen Joshy says:

    have u used a data structure for the coding part???

  8. Fabi says:

    Great coding right there, buddy. But doesn't the game stop/restart when the snake bites itself? 😮

  9. Lenimentus says:

    Hey man, please share the source!
    Thanks a lot. Sub'ed and Liked!

  10. MadApples says:

    hay, is this your first java game? 😀
    keep up the good work.

Leave a Reply

Your email address will not be published. Required fields are marked *