Loading...
  Previous Lesson Complete and Continue  

Java Game Programming Tutorials

Session 1: Setup & Foundations
  • 1 - How to set up Java in Visual Studio Code (04:23)
  • 2 - Build a Calculator in Java (36:40)
  • 3 - Code your FIRST GAME in Java (32:22)
Session 2: Classic Arcade Action
  • 4 - Code Pacman in Java (01:08:00)
  • 5 - Code Google Chrome Dinosaur Game in Java (52:44)
  • 6 - Code Space Invaders in Java (01:05:00)
  • 7 - Code Snake Game in Java (42:50)
  • 8 - Code Flappy Bird in Java (54:01)
Session 3: Logic & Puzzle Games
  • 9 - Code Black Jack in Java (58:38)
  • 10 - Code Memory Card Game in Java (45:58)
  • 11 - Code Tic Tac Toe in Java (33:22)
  • 12 - Code Sudoku in Java (32:31)
  • 13 - Code Minesweeper in Java (48:59)

1 - How to set up Java in Visual Studio Code

How to install Java with Visual Studio Code (vscode) in under 5 minutes.

Install Visual Studio Code: https://code.visualstudio.com/
Install Java Coding Pack: https://code.visualstudio.com/docs/ja...

Open vscode, and create new file. Name it whatever you want, but be sure to include the .java extension.

Ex) Create a file named Test.java and add the following code. Make sure the file name is exactly the same as the class name.

class Test {
public static void main(String[] args) {
System.out.println("HELLO WORLD JAVA");
}
}

Simple click the run button and you should see the output "HELLO WORLD JAVA".

You can also create a Java project by clicking Ctrl + Shift + P at the same time. Type in java create, and click on the Java: Create Java Project.

And, there you have it! How to setup Java for Visual Studio Code in under 5 minutes.

Membership Required

To access

You need membership or higher.

Unlock Membership Now