JoaoVictor-C / Slide-puzzle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slide Puzzle Game

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.

Screenshot of the Slide Puzzle Game

Getting Started

Prerequisites

Before you start, ensure you have a modern web browser such as Google Chrome, Mozilla Firefox, or Safari installed on your device.

Github pages site

You can play the game here: https://joaovictor-c.github.io/Sliding-game/

Installation

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

How to Play

  1. Open the index.html file in your web browser.
  2. Click on a tile that is adjacent to the empty space.
  3. 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.

Contributing

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:

  1. Fork the project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

About

License:MIT License


Languages

Language:JavaScript 51.4%Language:CSS 35.0%Language:HTML 13.6%