Skip to content

themysterysolver/DISCOLORATION-JAVA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 DISCOLORATION

  • *DISCOLORATION is a mind-bending puzzle game played on an n Γ— n grid.
  • It's a clever brainteaser.
  • This is also called Lights out puzzle.πŸ’‘

🎯 OBJECTIVE

  • Turn all tiles to the same color to win the game!

πŸ•ΉοΈ GAMEPLAY

  • Click on any tile.
  • The selected tile and its four direct neighbors (up, down, left, right) will flip to their opposite colors.
  • Plan your moves carefully!!πŸ€“
  • On completeion of each grid you move to the next *LEVEL.
  • Oncompletion of all the 4 satages from 2-5 you will be victorious. πŸ₯‡

🧩 CHALLENGE

Can you outsmart the grid and bring perfect harmony to the colors?

πŸ‘€ Why this repo?

  • My brother asked me to make this cause he played this litle game on his friend's smart-watch,yup that's a main reason.
  • I just wanna recap java and swing
  • I want to learn and create a jar file
  • I love creating games.🀩
  • There is no proper repo in git community,so I made it.

🌳 Repo structure

  • Go to /DISCOLORATION/src then,
    • GameLogic.javacontains the whole game logic and winning condition.
    • GameDriverGUI.java handles the event handling and UI.
    • Main.java is the driver class which starts the GameDriverGUI.java
src
β”œβ”€β”€ GameDriverGUI.java
β”œβ”€β”€ GameLogic.java
└── Main.java

⛓️‍πŸ’₯ Release

  • You can download your jar file from the release which is in left handside as RELEASES
  • You can download from the assets.
  • Run it using,
java -jar Decoloration.jar
  • Or simply doble click the Decoloration.jar