Share your repls and programming experiences

← Back to all posts
Slidey!
h
CodingCactus (4366)

Slidey is a recreation of those old games where you had a 4x4 grid and you had to arrange the numbers to be back in order, or create a picture.

However, https://slidey.codingcactus.codes comes packed with much, much more features.

  • 3 different grid sizes (3x3, 4x4, 5x5)
  • 4 images to choose from
  • Option to upload your own image
  • Lovely animation and a sound when you slide a tile, both of which can be toggled on or off
  • Fully responsive
  • Fancy background
  • Saves your high score for each mode
  • It's fun!

How To Play

Choose your image and mode and press the play button. Then, all you need to do is click on a tile adjacent to the empty space on the grid, and that tile will move into that space. Return the picture back to its original arrangement to win!

Make sure to check out the GitHub repo too!

Comments
hotnewtop
EdwardBentler (35)

Okay ... so, I accidentally double clicked a tile and it slid straight into another tile, then those tiles became glitched, then I decided to experiment ... and you can transfer the glitch to other tiles ... so I have this image

I'll get a video for you if I can,

EdwardBentler (35)

@EdwardBentler Alright, I figured it out, when you click a tile while it's sliding, it moves it twice, then, when you click that tile and it moves, then snaps back to it's previous position it becomes glitched, and becomes what I like to call, a ghost state, then, when you click another tile it will merge with it, and then you can transfer the ghost state to that tile, and it continues until it breaks, as for the way I got outside of the tile area in the first picture, I have no idea.
I have a video but unfortunately any attempt to add it to this post doesn't seem to be working.

CodingCactus (4366)

@EdwardBentler ok cool, thanks for debugging it all! I'll try and fix that

CodingCactus (4366)

@EdwardBentler btw, I think I fixed it, would you mind testing it. Thanks!

EdwardBentler (35)

@CodingCactus Yeah, you fixed it, and you're welcome.

P0GCHAMPB0i (53)

This is harder than i thought...

P0GCHAMPB0i (53)

Ummmmmmmmmmmmmmmmmmmmmmmmm... why does it says slidey is not responding? can you fix the code? because when I was doing my python work, it didn't say that.

edited

photo

so when i clicked exit page, then:

It was on ur game thing btw

CodingCactus (4366)

@P0GCHAMPB0i that's either a you or replit problem, nothing i can do

P0GCHAMPB0i (53)

hey @CodingCactus can u post the leaderboard?

P0GCHAMPB0i (53)

@CodingCactus the leader board that has the less time...

CodingCactus (4366)

@P0GCHAMPB0i the scores are only saved to local storage, so no

P0GCHAMPB0i (53)

AYOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO I DID IT IN 32 SECS!!!!!!!!!!!!!!!!!!!!!!!!!!!!! CONFRATS TO MOIIIIIIIIIIIIIIIIII :DDDDDD

CodingCactus (4366)

@P0GCHAMPB0i please stop spamming, also 32 seconds is not a particularly good time for a 3x3

tussiez (1666)

@CodingCactus What?! I gave up after a few minutes

notTussiez (4)

Reminds me of the old tile game in OSX :)
Nice job!

P0GCHAMPB0i (53)

AYOOO I DID IT!!!!!11

P0GCHAMPB0i (53)

COOOOOOOOOOOOOOOOOOOOOOOLLLLLLLLLLLLLLLL

Coder100 (18146)

Nice!!
But I still don't know how to beat it

FlaminHotValdez (690)

@Coder100 there is a really simple way to beat 4x4

GhostKing007 (139)

@FlaminHotValdez Because I'm asking without threatening to send skeletons after you?

FlaminHotValdez (690)

@GhostKing007 fine

get the 1st two rows the cycle in the last 2

GhostKing007 (139)

@FlaminHotValdez Yeah I looked it up. Got a 30 second time.

STCollier (36)

Ooof, I'm not very good haha

CodingCactus (4366)

@STCollier at least you're able to do it! I've seen a few people take 10 minutes and just give up hehe

STCollier (36)

@CodingCactus woah, haha. Luck could also be a factor here as well, because near the end, I just shuffled random pieces around. Or maybe I'm good at it because I know how to solve the rubik's cube and other puzzles ;)

Bookie0 (6272)

@CodingCactus Hehe I take < 20 seconds and I just give up hehe

[deleted]

Hey look what i found in my gmail:

The puzzel that you made :)

SeamusDonahue (457)

good game, its just too hard for my tiny brain

PyCoder01 (56)

I tried to speedrun 3x3 and got this time

OldWizard209 (1531)

no i didnt lol. Proof for you:

@PyCoder01

PyCoder01 (56)

@OldWizard209 You can still inspect element from there.

OldWizard209 (1531)

lol, tbh, I don't mind if you don't believe me @PyCoder01

OldWizard209 (1531)

ahem lol I was referring to the pycoder dude, who apparently doesn't even believe that the score I managed to get is possible, even though people like you have done far better.

pathetic

@FlaminHotValdez

firefish (948)

those old games where you had a 4x4 grid and you had to arrange the numbers to be back in order

yeah pretty sure those were called 15-puzzles

firefish (948)

i looked at the webpage background
rest in peace my eyeballs

wenwenb (13)

AHEM

911 did not believe me so help that square @CodingCactus
PLS

CodingCactus (4366)

@wenwenb thats a problem with you, I can't do anything about that

pr0p3rno0b10 (33)

This makes me very happy

Yimmee (31)

i don't know if that is the case, but can you tell me how to solve what i think is the gradient from the background?

Yimmee (31)

@CodingCactus the gradient of the back ground. the thing outside the real puzzle and it looks like a rainbow, i can assume, if put together

CodingCactus (4366)

@Yimmee oh they're just random colours actually, although that would be a cool idea to make it an actual thing

Whippingdot (657)

I pressed on your profile picture to see your pfp, and I just saw the new profile experience - it DOPE!

On the game though, it is soooo hard. I LUV IT THO

ch1ck3n (2055)

can i suggest something? in sliding puzzles you order it by their number.

this makes it easy to know what goes where (in symmetrical puzzles) anmd much easier.

FlaminHotValdez (690)

@ch1ck3n i agree lmfao I put in an image with text on a white background in 5x5 and top row was just white :/

iocoder (162)

@CodingCactus *tries* *5 minutes later: nearly solves the puzzle with only one piece off* Me:

IGamer123 (76)

I luv this toy you get at Mcdonalds lol

AndrewAung11 (21)

Whoo hooo!

BTW a really good game.

What are you doing go and play that game!

FlaminHotValdez (690)

Feedback: maybe when we're done, add the last tile? I put a picture of one of my favorite quotes in, solved it, and saw a giant green block where the last piece should have been

FlaminHotValdez (690)

ah, nostalgia

I still have one of those 4x4 puzzles in my room

[deleted]

Boom biddy bam beat that

btw noice game

[deleted]

@FlaminHotValdez So close, yet so far

GhostKing007 (139)

@FlaminHotValdez Not the best time, but the best score.

[deleted]

@GhostKing007 NOOO i have been beat. At least I still have the best time hehe

GhostKing007 (139)

@LeSensei hehe yeah but I now have the best score!

P0GCHAMPB0i (53)

@FlaminHotValdez DMAN ITTTT YOU GOT 24 SECS WHILE I GOT 32 SECS >:(

FlaminHotValdez (690)

@LeSensei @GhostKing007 i mean it's really random depending on the arrangement

GhostKing007 (139)

@FlaminHotValdez True. It's like speedrunning Minecraft. You keep restarting the game for new seeds and then start the run when you get a good seed.