Code Monkey home page Code Monkey logo

slide's Introduction

Slide

The popular and nostalgic; slide the number into order, puzzle implementation using python on pygame module, which I made as my 1st sem project. Slide is a very enticing game that not only boosts the user's logical and mathematical skills but also provides endless entertainment. Open to all ages. You can relive your childhood by playing the game and getting lost in nostalgia.

How does a slide puzzle work?!

Most sliding puzzles are two-dimensional. The pieces cannot be lifted out of the frame or rearranged in any way, except by sliding them into an empty space. They are also called sliding-block puzzles or simply sliders. The goal of a sliding puzzle is to arrange the pieces in a particular pattern. Have fun :)

Get Started.

Wanna try out Slide?

  1. Fork and clone the files into a directory on your device.

  2. Install the dependencies.

pip install -r requirements.txt
  1. Launch a terminal in the directory you just cloned into and type in this command.
python slide.py.

Volla! You are all set :)

Contribution

To contribute to this project please read how to contribute.
Your contribution is highly appreciated πŸ™.

This repository is maintained by bluishhh.

slide's People

Contributors

abhiraj2 avatar advaith-rn avatar alfadelta10010 avatar arihan01 avatar bluishhh avatar cubed-guy avatar daspragya avatar joyenbenitto avatar mayankpm avatar phoenixflame101 avatar pranavvatsa avatar rockerbot avatar sarthakskumar avatar skudlur avatar sphoorthiy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

slide's Issues

Fix the block alignment

As you can see, the moving block always appears to stop a little before it's slot. Fix it, n cash them ez points ;)

Dynamic grid size challenge (For chads)

The grid size is hard coded in the game. Doesnt give the user an option to change, does it? How about find a way to give users the liberty to choose between 4x4, 5x5, 6x6 and 7x7 grids?

Solve this for some them ✨Bonus✨ points.

Missing buttons 😰

If you look closely, you'll see that the main function has some buttons being created. But where did they go? Bring em back!!!

Let's take a picture, shall we? Part-1: Slice em

Now, rearranging numbers sounds too basic, doesn't it? Let's do some thing fun, add images instead of numbers :D

  1. Slice the picture of my beloved dog brandy, brandy.png into 4x4, 5x5, 6x6 and 7x7 grids.
  2. Save the individual picture names as brandy_Grid-number_Piece-number.png.

    Example - brandy_4x4_2 will be -

delete

Note: Make sure to follow Contributor guidelines , failing which might lead to deduction in points

Glitch in the game

image
Go on a hunt and look for the lil glitch that's going on for some ez points.

Found it? Mail your answer to bluishhh and mention a maintainer in the comment to check your mail.

(Hint: finding this will help you with this as well ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.