GithubHelp home page GithubHelp logo

bilva-sanaba / compsci308.breakout Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 119 KB

A 2D JavaFX Breakout Variant which is soccer-themed. My first attempt at a large project. I have learned a lot since!

Java 100.00%

compsci308.breakout's Introduction

Breakout

Bilva Sanaba
Jan 16 - Jan 23, 2017

Get Started

Program is run through the main class, and no other classes contain main.

Resource Files

The positions of all blocks per level are stored in a resource file called Levels. The file format is simple to understand and changing the Level file allows for different games to be played.

Using the Program

  • After the program starts there will be two controllers
  • Player 1 can move with the left and right arrows
  • Player 2 can move with the A and D keys
  • Score is determined by number of blocks hit, powerups received, and by scoring goals into the other player's net.
  • The winner is determined by score if the end of the game is reached, or, if 10 goals are allowed by one player, then the other player wins.

Cheat codes

  • L for extra lives
  • C to stay on a level after all blocks are cleared
  • Number keys to go to that level
  • N to go to next level
  • P to pause
  • SPACE to start

Known Problems

  • Ball detection with paddle sides when paddle is moving is not fully functional.
  • Two players moving at same time may be slower.

Features

  • Powerups - Extra ball, extra points, and larger paddle
  • Paddle- warps sides, ball changes direction differently, depending on where it hits the paddle, and paddle can increase size.
  • Blocks - Any number of hits or indestructible
  • Two player

compsci308.breakout's People

Contributors

bilva-sanaba avatar

Stargazers

 avatar

Watchers

James Cloos 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.