Git Product home page Git Product logo

tetris's Introduction

Tetris

Welcome to the Tetris Game project! This classic Tetris implementation provides an engaging gaming experience with intuitive controls and a familiar block-dropping challenge.

This Tetris game project is a Java-based implementation with a graphical user interface. It follows the classic rules of Tetris, where players aim to complete lines by moving and rotating falling blocks.

Features

  • Classic Tetris gameplay with block rotation and movement
  • User-friendly interface with score, level, and next-piece display
  • Sound effects for line completion, game over, and more
  • Pause and reset functionality

Gameplay Screenshots

Screenshot 1

Screenshot 2

Game Controls

  • W or ↑: Rotate block
  • D or →: Move block right
  • S or ↓: Move block down
  • A or ←: Move block left
  • SPACE: Drop block
  • P: Pause/Play
  • R: Reset

Installation

  1. Clone the repository: git clone https://github.com/wahidsadikjishan/tetris.git
  2. Navigate to the project directory: cd tetris
  3. Compile and run the game: javac core/Main.java && java core.Main

Alternatively, you can download the game directly from itch.io and follow the instructions provided on the page.

Usage

  1. Launch the game using the provided instructions.
  2. Use the specified controls to play the game.
  3. Enjoy the classic Tetris experience!

User Interface

The game interface includes a play area, next-piece preview, score display, and control instructions. Customize the game further by exploring the code.

Technologies Used

  • Java
  • Swing (for GUI)

Learnings and Insights

The Tetris project provided valuable insights into game development, reinforcing the importance of user-centric design. Balancing simplicity with depth, the game offers a glimpse into the delicate equilibrium required for crafting enjoyable gaming experiences.

Future Improvements

  • Implement a multiplayer mode.
  • Enhance graphics and animations.
  • Add more sound effects and background music options.
  • Optimize code for better performance.

Contribution

Contributions are welcome! If you find any bugs or have suggestions for improvement, please open an issue or create a pull request.

tetris's People

Contributors

wsjishan avatar

Stargazers

 avatar Menekşe Yüncü avatar Sercan Noyan Germiyanoğlu avatar jist avatar Mahmud Abbas Mehedi avatar G.M Kibria Rafi 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.