From fab6c85a4d9930bfb5676f41ac5129c22e104781 Mon Sep 17 00:00:00 2001 From: Roan Hofland Date: Wed, 27 Jul 2022 21:26:44 +0200 Subject: [PATCH] Version 1.4 --- Picross/build.gradle | 2 +- Picross/src/dev/roanh/picross/Main.java | 2 +- README.md | 10 ++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Picross/build.gradle b/Picross/build.gradle index 9f59f8a..55f8c8e 100644 --- a/Picross/build.gradle +++ b/Picross/build.gradle @@ -23,7 +23,7 @@ javadoc{ compileJava.options.encoding = 'UTF-8' sourceCompatibility = 1.8 -version = 'v1.3'//Don't forget Main.java +version = 'v1.4'//Don't forget Main.java shadowJar.archiveName = 'Picross-' + project.version + '.jar' repositories{ diff --git a/Picross/src/dev/roanh/picross/Main.java b/Picross/src/dev/roanh/picross/Main.java index b9cdb1c..e0eff97 100644 --- a/Picross/src/dev/roanh/picross/Main.java +++ b/Picross/src/dev/roanh/picross/Main.java @@ -323,7 +323,7 @@ public void mouseClicked(MouseEvent e){ JPanel footer = new JPanel(new GridLayout(1, 2)); footer.setBorder(BorderFactory.createEmptyBorder(0, 2, 0, 2)); - footer.add(Util.getVersionLabel("Picross", "v1.3", false, SwingConstants.LEFT));//XXX Version number - don't forget build.gradle + footer.add(Util.getVersionLabel("Picross", "v1.4", false, SwingConstants.LEFT));//XXX Version number - don't forget build.gradle JLabel git = new JLabel("GitHub: RoanH/Picross", SwingConstants.RIGHT); git.addMouseListener(new ClickableLink("https://github.com/RoanH/Picross")); footer.add(git); diff --git a/README.md b/README.md index 5a59354..b98c0a8 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ The program looks like this: - Option to see a possible solution for each puzzle. - Zoomable and movable board where the hint numbers follow the view so they are never off screen. - Ability to update multiple tiles at the same time by dragging. +- Undo & redo functionality. +- Option to clear incorrect tiles without have to see the solution. ## Rules _[See also the Wikipedia article.](https://en.wikipedia.org/wiki/Nonogram)_ @@ -63,13 +65,17 @@ General controls needed to play the game. - C to leave test mode and save changes - V to leave test mode and undo changes +### History +- Ctrl+Z to undo the last edit +- Ctrl+Y to redo the last edit + ### Check - R to toggle showing the original solution (note that other solutions might also be valid) ## Downloads _Requires Java 8 or higher_ -- [Windows executable](https://github.com/RoanH/Picross/releases/download/v1.3/Picross-v1.3.exe) -- [Runnable Java Archive](https://github.com/RoanH/Picross/releases/download/v1.3/Picross-v1.3.jar) +- [Windows executable](https://github.com/RoanH/Picross/releases/download/v1.4/Picross-v1.4.exe) +- [Runnable Java Archive](https://github.com/RoanH/Picross/releases/download/v1.4/Picross-v1.4.jar) All releases: [releases](https://github.com/RoanH/Picross/releases)
GitHub repository: [repository](https://github.com/RoanH/Picross)