GithubHelp home page GithubHelp logo

iapetus-11 / paddleball Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 137 KB

A text based pong/breakout clone

License: MIT License

Java 100.00%
text base text-based pong breakout atari-breakout clone jframe jtextarea game

paddleball's Introduction

PaddleBall

PaddleBall is a pong-like game by me written in Java.

  • The game is text based and designed to look like it's in a console or cmd window.
  • Has both mouse and keyboard controls.
  • Uses JFrame and JTextArea.
  • All 'graphics' are done via string manipulation between 3 strings.

TODO:

  • add back to menu button/option
  • add help page on menu
  • add obstacles / make it more like breakout
  • add more hidden feautures
  • fix the paddle overriding the ball

HOW TO PLAY:

  • To select a difficulty, use the mouse on the options, or press the '1' or '2' key to select that difficulty.

  • To move the paddle back and forth, use the 'a' and 'd' keys or move the mouse side to side while in the window.

  • To reset the game, use the 'r' key. Resetting the game will reposition the paddle and ball, and reset the score.

  • To go back to the main menu, use the 'm' key. This will reset the score and allow you to change the difficulty.

  • To exit, either click on the red X in the top right of the screen, or press the 'z' key.

  • You may notice the paddle is repositioned throughout the game, sometimes there is an error in which the paddle overrides the ball or the ball overrides the paddle. Resetting the paddle and ball to their initial values fixes this bug.

  • To free the cursor, move it out via the top or bottom of the window. The cursor will be sent back to the middle of the window on an attempt to move it out of frame via the left or right sides.

paddleball's People

Contributors

iapetus-11 avatar

Stargazers

 avatar  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.