Skip to content

A 4x4 Sliding puzzle made with HTML, CSS, and Javascript, no frameworks or libraries.

Notifications You must be signed in to change notification settings

celestedubini/Sliding-Puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧩 Sliding Puzzle

The exercise was to implement a Sliding puzzle game. I had to make use of JavaScript/TypeScript and CSS/HTML.

Requirements:

  • This is a bi-dimensional puzzle (4x4).
  • Each piece can move in 4 directions (up, down, left, right).
  • At the start all pieces are scrambled.
  • Movement of a piece is just possible when there is an empty cell next to it.
  • Just one movement is possible each time.
  • Game ends when all pieces are in the right position, showing the image clearly.
  • I couldn't use jQuery!

Run project

To run directly in the browser, you only need to download all the files and open the index.html file 😎

About

A 4x4 Sliding puzzle made with HTML, CSS, and Javascript, no frameworks or libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published