Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Added 15 Puzzle Game #548

Merged
merged 3 commits into from
Oct 16, 2020
Merged

Added 15 Puzzle Game #548

merged 3 commits into from
Oct 16, 2020

Conversation

ADV1K
Copy link
Contributor

@ADV1K ADV1K commented Oct 16, 2020

Description

Opened another pull request because the last one had many problems.
Added 15Puzzle game.

Fixes #(512)

Replace issue_no in the above line, with the issue related to this PR.

Type of change

Choosing one or more options from the following as per the nature of your Pull request.

  • NOTE: These boxes can be checked using [X]

  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Documentation Update

Checklist:

Please tick all the boxes that are fulfilled by your Pull Request.

  • I have named my files and folder, according to this project's guidelines.
  • My code follows the style guidelines of this project.
  • My Pull Request has a descriptive title. (not a vague title like Update index.md)
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have created a helpful and easy to understand README.md, according to the given README_TEMPLATE.
  • I have included a requirements.txt file (if external libraries are required.)
  • My changes do not produce any warnings.
  • I have added a working sample/screenshot of the script.

@AdityaJ7 AdityaJ7 merged commit 5779bd1 into Python-World:master Oct 16, 2020
@AdityaJ7
Copy link
Member

@all-contributors please add @ADV1K for code

@allcontributors
Copy link
Contributor

@AdityaJ7

I've put up a pull request to add @ADV1K! 🎉

Copy link
Member

@tusharnankani tusharnankani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ADV1K The script is working well! I didn't win, though. XD

So, here's a suggestion from my end:

  • Can you build a script that solves this in minimum number of moves using backtracking?
  • Can you add a few more buttons - RESET, UNDO and Solve
    • RESET will print a new random grid and the moves/score will be set to zero.
    • UNDO will undo the previous moves.
    • Solve will show moves, possibly every second to the final grid.

Let me know if this is possible?

@github-actions
Copy link

Python World does not accept pull requests on this repository anymore.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants