Skip to content

CitaZane/brick-breaker-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brick-breaker game / WIP

Simple single player game based on rules/ funcionality of such arcade games as - "Arkanoid" and "Breakout". Created as a project for learning new tools, languages and concepts.

You can try to check it out here Unfortunately highscores are broken, so enjoy what you can and please ignore the rest!

Description

The projcets theme goes like this -> "THE YOUNG ASPIRING PIRATE IS HEADING OUT TO HIS VERY FIRST TARGET - THE CITY OF SILLAMAE (located near the Gulf of Finland, Estonia). FROM TALES AS OLD AS THE TIME, HE HEARD THAT PIRATES ARE SUPPOSED TO TAKE ADVANTAGE OF THE PROPERTY OF THE FELLOW CITIZENS OF THIS WORLD. THE YOUNG PIRATE IS PLANNING TO TAKE OVER THIS CITY, BUT THERE SEEM TO BE SOME OBSTACLES IN THE WAY."

The game is created to be simply enjoyed.

  • Player can move around in the game using arrows / space/ esc keys.
  • For full screen mode press f11

Getting Started

Dependencies

  • node.js
  • npm
  • express
  • body-parser

Installing

  • Navigate to the project folder and install required packages
npm install

Executing program

  • Start the server
npm run start
  • Open the browser -> localhost:3000

Author

CitaZane

Acknowledgments

What I learned

  • JS language -> concept of classes and modules, DOM manipulation
  • node.js / express -> starting a simple server and creating endpoints
  • Using JSON -> storing level blueprints and fetching them.
  • Using/creating tilesets.
  • Concept of sprite sheets.
  • Concept of State Machine in gaming.
  • Manipulation of DOM.
  • Adding sound to website.
  • Improved artistic capability "hopefully"

To be improved

  • Make brick and ball colision more responsive on corners
  • Make ball / paddle collision more precise on corners
  • Show players place in leaderboard
  • Autofill players name after first game
  • Create typewriting stop on pause menu
  • Make powerup stacking more smooth
  • For simple deploy for score handling used GET request. Should use POST

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published