Git Product home page Git Product logo

candy-crush's Introduction

Candy Crush

The aim of this work is to implement new functionalities in a very reduced version of the game Candy Crush developed in Java.

Functional description

The game consists of a vertically oriented grid of different colored candies. The mechanics of the game lie in choosing a pair of adjacent candies to swap their positions. This exchange is valid only if a valid figure is formed with candies of the same color.

The figures are horizontal or vertical lines of 3, 4 or 5 candies, or a T (of three candies in a line and two perpendicular in the middle) in any orientation, or an L in any orientation.

If the exchange is valid (because one or two figures are formed due to it) the candies that compose them "explode" and disappear. Then the candies that were on top of them fall instead (this is a recursive process).

When certain figures explode they leave special candies in their place, which when they explode generate cascading explosions of different types. Each exploding candy scores the user.

Levels

Level 1: Classic

The objective of this level is to reach the desired score before a certain number of moves.

Level1

Level 2: GoldenBoard

The goal of this level is for the entire board to turn to gold.

Level2

For this it is necessary to make exchanges:

  • Valid horizontal exchanges transform the row in question to gold.
  • Valid vertical exchanges transform the column in question to gold.

If a row or column is already gold and valid trades are made on it, it does nothing. The number of squares on the board remaining to turn gold is displayed on the bottom panel, along with the score and remaining moves.

Level 5: Fruit (Cherry & Hazelnut)

The objective of the level is to bring a certain amount of fruit to the last row of the board in less than a certain amount of moves.

Level5

These fruits cannot generate combos, no special candy deletes them and they only disappear when they reach the last row of the board.

The number of remaining fruits and the number of remaining moves are displayed in the lower panel, along with the score.

candy-crush's People

Contributors

bravejero avatar erodriguezzz avatar lvittor avatar

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.