/JAVA-SQL-TRASH-COLLECTOR

☕ Catch the trashes and let's recycle!! ☕ (🔑 KeyWords: Java, SQL, Recycle 🔑)

Primary LanguageJava

🌟 Trash Collector 🌟


❓ What's it? ❓

  • Trash Collector is a game developed with Java Language. My goal with this game is to teach the childs in what trash we musta drop each material and show what materials is recyclable and non-recyclable.

⚒️ Tools ⚒️

  • Java 8 version or later;
  • NetBeans;
  • PostGreSQL 11 version or later.

⚙️ Run ⚙️

PostGreSQL

  • Create a database named aps_semestre_3;
  • Execute and commit DDL.sql and DML.sql files storaged in Banco folder;
  • The set (Port, User, Password) is equivalent to (5432, postgres, unip);
  • Start the service.

NetBeans

  • Import the files into Jogo folder and compile\run the Jogo class code.

📝 How to Play? 📝

  • You needa collect all the wastes in the correct trash, how more correct wastes you catch, more points you get.

  • You have three hearts and the game ends when you miss all of them. For each wrong waste you catch, one heart is missed.

  • If you click the left mouse button, your trash change the color and your correct wastes will change too.

  • There are three dificulty levels available to play: Easy, Medium and Hard. For each, you have more kinda trashes to use, for example:

- Easy Level: 4 trashes (plastic, metal, paper and glass)
- Medium Level: 7 trashes (plastic, metal, paper, glass, dangerous, non-recyclable, organic)
- Hard Level: 10 trashes (plastic, metal, paper, glass, dangerous, non-recyclable, organic, wood, radioactive, hospital)

🎁 Bonus 🎁

  • In the Jogo\dist there is the Jogo.jar file. Just run it to play without compile the code again!!

📫 Reach Me 📫

Email: csfelix08@gmail.com

Linkedin: linkedin.com/in/csfelix/

Instagram: instagram.com/c0deplus/


Portfolio: CSFelix.io