Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

Sliding Puzzle Game (Need help)

Hi everyone, trying to help someone out with the ‘Puzzle of fifteen’ Tiles Game. I have zero knowledge (but learning), and the deadline is a few days away. I dont think we'll be able to solve this by ourselves in the time left, we're looking for someone to complete this.


I need someone to write: SlidingPuzzle, Switch, reset, shuffle, getNo0fMoves, isLegalMove, makeMove, isSolved, tooString, getPos, randomize, isSolvable, noOfInversions. No advanced methods and test it is solvable. I think the study group will create the game at a later date. I am looking for someone to ensure the code is correct and test it is workable / solvable (for want of a better explanation)

They all look like this
    public SlidingPuzzle( Dimension dimension) {
        // ...switch statement (I need these writing and solvable)

If anyone needs more info, wants me to clarify anything, thinks they may be able to help, get in touch and I'll do my best. (I didnt post the code here because its a school project / wanted to keep it somewhat private; I could show the code by hastebins in pm ?).
Write it as what? A console app? A GUI app? A web app? A library? You basically gave us nothing to solve.
May you be given directions by software engineer document writers.
Please see original post for detail or ask, thanks.

(Sep 21, 2020 03:39 AM)saltycracker Wrote:  Here's a link which show's you how to use enum's in a switch.

Thanks for the link, ill have a read. Tried to like post but dont have enough bytes yet :)
Here's a link which show's you how to use enum's in a switch.

https://www.java67.com/2012/09/how-to-us...ample.html
May you be given directions by software engineer document writers.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by PhizoAug 14, 2017 07:23 PM 13 638 Aug 14, 2017 07:23 PM
Last Post: WOLGA
[Shell] by ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™Nov 10, 2016 03:49 AM 9 354 Nov 10, 2016 03:49 AM
Last Post: moosa666
[.NET] by Meerkat.Dec 31, 2015 12:25 AM 144 18,064 Dec 31, 2015 12:25 AM
Last Post: harsh chelani