Coder Social home page Coder Social logo

block-sort-java-swing's Introduction

Block Sort Puzzle

Introduce

Block Sort Puzzle is a fun and addictive puzzle game!Try to sort the colored block in the tubes until all colors in the same tube. A challenging yet relaxing game to exercise your brain!

Now, the game has 100 levels with different difficulty levels in each level.

How to play

  • Drag and drop any block at the top of the tube to another tube.
  • The rule is that you can only drag block if it is linked to the same color and there’re enough space on the tube.
  • Try not to get stuck - but don’t worry, you can always restart the level at any time.

Features

  • Multiple unique level.
  • FREE & EASY TO PLAY.
  • Save your own data after each level.
  • NO penalties & time limits; you can enjoy Water Sort Puzzle at your own pace!
  • Give a solution.

Data Structure

  • Each tube is a stack with size = 4.
  • Each level is a List containing the tubes.
  • Undo feature using Linked List.

Some Image of Game

Home Screen

New Game

Load Game

About Game

Play Screen

Setting

Need help? Have any question?

Support email: [email protected]

Directory Structure

TSP/
  data/              contains data of user in game
  image/             contains images to introduce game
  lib/               contains library AbsoluteLayout.jar to support build graphic
  problem/           contains levels and solutions folder
  resource/          contains drawable, fonts and sounds folder
  src/               contains source code

Installation

Clone repository

First, you need to download the repository. You can either run the script below on the command-line or terminal:

git clone https://github.com/quanpersie2001/water-sort-java-swing.git

or download zip file of repository and unzip.

If you have the problem related to personal access token, try following the steps below:

  • Log in to your GitHub account
  • Go to Settings, then choose Developer Settings
  • Choose Personal access tokens
  • Generate and copy your tokens
  • Clone again and paste tokens to password space

Run

Run file src/Main.java

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.