/puzzle-RSS

Rolling Scopes project called 'puzzle'

Primary LanguageJavaScript

Sliding Puzzle Game

This is a JavaScript implementation of a sliding puzzle game. The game allows players to rearrange numbered tiles in a grid to achieve a specific ordering of numbers. It includes features such as a timer, move counter, saving and loading games, and displaying results.

Features

  • Grid Size Selection: Players can choose the size of the grid (3x3 to 8x8).
  • Timer: Tracks the time taken to complete the puzzle.
  • Move Counter: Counts the number of moves made by the player.
  • Sound Effects: Toggle sound effects on/off.
  • Save and Load: Save game progress and load saved games.
  • Results Display: Displays the top 10 results with date, time, number of steps, and game completion time.

Usage

To use the game, simply open the HTML file in a web browser. Click on the tiles to move them and rearrange them in order. Use the restart button to reset the game, save button to save the current progress, and results button to view the top results.

Installation

  1. Clone the repository or download the ZIP file.
  2. Open the index.html file in a web browser.

Dependencies

  • This project does not require any external libraries or dependencies.

License

This project is licensed under the MIT License. See the LICENSE file for details.