Skip to content

amitx13/ping_pong_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

🏓 Ping-Pong-game

pong-screenshot

💾 Technologies and Tools

  • JDK 17
  • Java Extension Pack in VSCode

🕹 Game Instructions

clone this project using git

git clone https://github.com/amitx13/ping_pong_game.git

install

JDK 17

Java Extension Pack in VSCode

Run the java code in your VScode

Player 1

  • W - Move UP

  • S - Move DOWN


Player 2

  • ⬆️ - Move UP
  • ⬇️ - Move DOWN

🧱 Process

  • Creating all the classes and calling it in the Main file as a variable. All the other classes either extend and inherit from one another.

  • In each class, the methods were created and gradually filled out as the game progressed.

🎊 Things I have learnt

  • I didn't know that you could code something visual in Java. It was really fun following the tutorial and seeing it slowly built with packages Java already has such as JFrame.

  • A stronger foundation in strictly typed language and revising the knowledge I already had in Java.

  • A good refresher on public, static, void and this keywords as well as **defining types everywhere! ** A huge difference from JavaScript, but makes a lot of sense to me.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages