/Tetris-Godot-4

tetris game with godot

Primary LanguageGDScript

Tetris Like Game with Godot 4.2

This is a simple and easy to reproduce Tetris game developed using Godot 4.2 game engine and GDScript.

Here is a global overview of what the project has :

Project architecture and responsabilities

One of the challenges had to make the system independent of any physic interaction, and not using tilemaps to allow more flexibility in the future.

Getting Started

To get started, you will need to have Godot 4.2 installed on your machine. You can download it from the official website: https://godotengine.org/download.

Once you have Godot 4.2 installed, you can clone or download this repository to your local machine.

How to Play

To play the game, simply run the project in Godot 4.2 and use the arrow keys on your keyboard to move the falling tetromino pieces. The objective is to clear as many lines as possible by forming complete rows with the tetromino pieces.

Inputs :

  • Left and right arrows to move the piece left and right respectively.
  • Up and down arrows to rotate the tetrominos in both directions.
Capture d’écran 2024-08-01 à 21 39 18 Capture d’écran 2024-08-01 à 21 41 18

Customization

You can suggest modifications and improvement so for exemple we could change easily the size of cubes.

Feel free to use the tetris node in your games, to add, for exemple, a minigame.

Credits

This game was all created by me. can find me at https://www.linkedin.com/in/justin-smagghe/

Feel free to use it as a starting point for your own projects.