GithubHelp home page GithubHelp logo

oop's Introduction

Arkanoid Game

Welcome to the Arkanoid game! This classic game has been reimagined and developed using the Java programming language, bringing endless hours of fun and excitement. In this Arkanoid-style game, players can enjoy smashing bricks, maneuvering the paddle, and collecting power-ups in a visually engaging environment.

Features

  • Classic Gameplay: Experience the nostalgic joy of breaking bricks using a bouncing ball and a paddle.
  • Observer Pattern: The game incorporates the observer pattern, enhancing modularity and maintainability. Observers efficiently monitor and respond to state changes, making the game design more scalable.
  • Interactive Environment: Engage with a dynamic game environment where bricks shatter upon impact, providing a satisfying gaming experience.
  • Power-ups: Discover various power-ups that enhance gameplay, adding strategic depth and excitement to every level.

How to Play

  • Controls: Use the keyboard (arrow keys or A/D keys) to move the paddle horizontally. The goal is to bounce the ball off the paddle to break the bricks above. Avoid letting the ball fall off the screen; otherwise, you'll lose a life.
  • Brick Colors: Different colored bricks require multiple hits to break. Plan your moves strategically!
  • Power-ups: Some bricks contain power-ups. Catch these power-ups with your paddle to gain special abilities, such as larger paddle, multi-ball, or shooting abilities.
  • Winning: Clear all the bricks on the screen to advance to the next level. The game becomes progressively challenging as you advance through the levels.

Observer Pattern Implementation

The observer pattern is utilized to enhance the game's modularity and maintainability. This design pattern allows components of the game to observe and react to changes in the game state, ensuring a flexible and robust architecture. For example, observers can monitor the number of lives, score, and power-ups collected, enabling dynamic updates to the user interface and game logic.

Enjoy the game, and happy smashing!

oop's People

Contributors

noydvori avatar

Watchers

 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.