Skip to content

bykolak/Bricks

Repository files navigation

Bricks 1.0

It`s my first project to make a Bejeweled, Same, Candy Crush like game using c++ and allegro5 library.
**Basic Rules:**
  • You start with a screen full of randomized 6-colored bricks.
  • You get points by selecting and removing bricks of the same color.
  • You can't remove single bricks.
  • More points are awarded for big chunks of bricks that are removed by a single selection.
  • If only single bricks left or all are removed, you win the game.
  • Bricks are affected by gravity so if you make a hole they will fall down.

MAIN MENU:

  • New Story - loads map[0] from story.bri
  • Random Game game.newGame();
  • Continue Story game.loadGame();
  • Exit Game

INGAME BUTTONS:

New Game

  • Left Click creates new game and resets your current score.
  • Right Click is for debug (creates new map with one colored bricks).

High Scores

  • List of 10 best scores and usernames. (needs some work)
  • Close button
  • Reset Score
  • High Scores are kept in a binary file called high.bri

Score

  • Shows current Score (needs some work)

Options

  • Volume Slider - slide between 0% and 100% of volume
  • Mute Button - disable sound
  • Restart Game - restart map
  • Game saves automatically.
  • There are two files story_save.bri random_save.bri.

SPECIAL BLOCKS:

  • anti-gravity block
  • undestructable block
  • exploding block
  • paint block
  • line clear block
  • column clear block

FEATURES TODO:

  • level editor
  • 20 predefined levels

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published