Welcome to the Slide Puzzle Game! This project is a simple yet entertaining sliding puzzle game that challenges players to organize tiles in the correct sequence to form a complete image. Created using pure HTML, CSS, and JavaScript, this game is easy to play and accessible from any modern web browser.
Before you start, ensure you have a modern web browser such as Google Chrome, Mozilla Firefox, or Safari installed on your device.
You can play the game here: https://joaovictor-c.github.io/Sliding-game/
To play the game, you simply need to clone the repository and open the HTML file in your browser:
git clone https://github.com/JoaoVictor-C/Slide-puzzle.git
cd Slide-puzzle
open index.html # On macOS
start index.html # On Windows
- Open the index.html file in your web browser.
- Click on a tile that is adjacent to the empty space.
- Repeat the process until all tiles are arranged in the correct numerical order.
The goal is to rearrange the tiles to form the sequence from 1 to the maximum number depending on the grid size.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
To contribute:
- Fork the project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.