Skip to content
Repl icon
slidey
CodingCactus
CodingCactus
Published on Apr 21, 2022
#html#puzzle#game#fun#CodingCactus

Recreation of the classic picture sliding puzzle thingy.

  • 3 modes
  • 4 images - or upload your own
  • Fancy background
  • Great fun!

Click a tile next to the empty one to slide it there

Recreate the image to win!

See https://github.com/Coding-Cactus/slidey

Similar repls
Jumping Dot
Jumping Dot
codingjlu
codingjlu
Inspired from https://doofus-dot.tangert.repl.co/, but I didn't look at his code at all. Also, it's better.
#html
+4
Hardest Game Ever
Hardest Game Everhardest game ever: click to win game
Toilet Paper Factory
Toilet Paper FactoryA submission to the replit KAJAM 2021. This is a clicker game about making money in the illustrious toilet paper market. How much can you make?
78comments
gregetmaxs
gregetmaxs8 months ago

My best record : 3x3 Move : 26 Time : 0.13

gcmle
gcmle10 months ago

games too hard smh

InsertName2021
InsertName202110 months ago

slid the slope

ItchyDaSilentCoder
ItchyDaSilentCoder11 months ago

The um sliding sounds it is saying Hockey desperately at the same time happy fast

atral
atral11 months ago

34

BestBerry
BestBerry11 months ago

I first learned how to solve these games on the windows 7 gadget. One thing that was in that but not this was being able to click on any square in a straight line from the hole and it would slide the whole row over. Maybe something to consider adding?

ia13ru
ia13ru11 months ago

Time: 0:50 Score:48

BostonDadBod
BostonDadBod11 months ago

This was really cool. I am brand new to Replit and this was the first game I have played on here. I was able to beat the cyclone on 3x3 after 1:23; I am pretty bad at these puzzles.

yonatanramsimon
yonatanramsimon11 months ago

very very cool!!

QuickV
QuickV11 months ago

Great job dude! It's great even though I couldn't beat a single thing lol (Im bad at these kind of sliding puzzle games).

Monisha21
Monisha2111 months ago

wow amazing!

AhsenKhan
AhsenKhan11 months ago

5x5{ Time = 15.07; Moves = 806; }

:)

VeggieOski
VeggieOski12 months ago

3x3 best time 34 seconds.... Not way too bad..

RolandJLevy
RolandJLevy12 months ago

Nice! I think you've done a great job. Just a few suggestions - have you considered breaking your code into smaller chunks? script.js is 462 lines which is very long and difficult to follow. It would be better to use object classes.

Also, it's better to use document.querySelector and document.querySelectorAll instead of getElementById

NiruKodeKloss
NiruKodeKloss12 months ago

Your code is fantastic, but why is one tile missing in the slide code puzzle? Are there any tutorials or courses that you referred to? Check out the image: https://www.screencast.com/t/QWbMqfE1Xc6

dphdmn
dphdmn12 months ago

4x4, 52 moves, 18s. controls are so weird, also weird blank position, but good thing is that i can upload my picture

Hirole
Hirole12 months ago

4x4 second attempt : 168 moves Time 3:47

playsolitaireaz
playsolitaireaz12 months ago

Well, that's a superb article! Thank you for this great information, you write very well which I like very much. I am really impressed by your post. play solitaire

heljii
heljii12 months ago

5x5 first attempt : 322 moves, 4:59

SinisterMelodys
SinisterMelodys12 months ago

first attempt (5x5) - coding cactus

834 Moves 42:15 minutes

7ih
7ih12 months ago

My first attempt (5x5):

  • Moves: 1124
  • Time: 31:53

Nice game, but wow, it is pretty difficult.

Alfaheimr
Alfaheimr12 months ago

This was really awesome; I had a lot of fun! Best time for me stands at 2:53 (3x3). I'm wondering; how did you make the background slide around? That looked nice.

EMILYCREEDON
EMILYCREEDON12 months ago

Nice game! Background is a bit distracting though.

lexingtonzastre
lexingtonzastre12 months ago

how do i play?

MuhammedDArduin
MuhammedDArduin12 months ago

A friend: Who are you Me: I'm the worst player on this XD

lexingtonzastre
lexingtonzastre12 months ago

it kinda takes a long time to load.

skvprogrammer
skvprogrammer12 months ago

Amazing 😍

btfuss
btfuss12 months ago

im not on a fbi watchlist

Jaydogcodes
Jaydogcodes12 months ago

Dude I spent 6hrs tryna do this and I still cant

ChezCoder
ChezCoder12 months ago

best time for repl logo: 2:11 i suck

ContourLines
ContourLines12 months ago

neat

zdude1011
zdude101112 months ago

yoooo this is so neat, this is straight up my go to little game for when I need something short and sweet, definitely a great project! 10/10

ia13ru
ia13ru12 months ago

Nice!

demcrepl
demcrepl12 months ago

Dope!

GoodCoderBadBoy
GoodCoderBadBoy12 months ago

It kind of broke for me. Some tiles went into each other and now there are 5 holes.

Strobe42
Strobe4212 months ago

nice!

CodeOfCayde6
CodeOfCayde612 months ago

It won't recognize the image I inserted. Otherwize this is 🔥🔥🔥🔥🔥🔥🔥🔥🔥

ThanhTails
ThanhTails12 months ago

Nice!

sweetmango88
sweetmango8812 months ago

only one word: wow....

minishxp
minishxp12 months ago

this is good

NoobNotFound
NoobNotFound12 months ago

Amazing

CreativeDrone
CreativeDrone12 months ago

AAAAAAMMMMMMMMAAAAAZZZZZZZIIIIIIIIIIIIIIIINNNNNNNNGGGGGGGGGGI love it.

noway15
noway1512 months ago

it's uh... not working?