Coder Social home page Coder Social logo

java-tetris's Introduction

Java Tetris

  • Authors: Anthony Narlock (narlock), Matthew Sherohman (Shorent)
  • High-level description: Tetris game clone based off of the popular game created by Alexey Pazhitnov. This project was for our CSCI 1082 - Object Oriented Programming class in Spring 2020.

Features

Java Tetris will feature a fully developed Java version of the popular game Tetris. The user will have access to modify starting level which changes the speed of the game depending on what starting level is selected.

The game itself will utilize two-dimensional arrays to hold values for the Tetris grid. When a piece object is placed, the value of the specific area in the array will change. And of course, when a "line clear" is displayed (A whole row in the array, or board, is filled with the pieces) the line will clear and score will be kept.

Java Tetris will also feature:

  • A GUI in which potrays the board and selection options for user.
  • A KeyListener in which the user can direct the pieces of the game via the keyboard
  • A score counter, which determines the user's score. A high-score number will be obtained and saved to a file along with the name of the user with the high score. (When the program is re-opened, the high-score will be the same)
  • "Next Piece" feature which shows the user the next piece that will appear, this will also be generated by the program and will appear somewhere in the GUI.
  • A piece counter. This will show the amount of times the user has recieved a specific piece. There will be a specific piece counter for every piece in the game.
  • A Line counter: shows the user how many lines they have cleared (either 1-4 lines at a time, 4 lines being a tetris)

Project Design

Design Image

java-tetris's People

Contributors

mattshero40 avatar narlock avatar shorent avatar

Stargazers

 avatar  avatar

Watchers

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