This code contains very basic implementation of Tetris game

Overview

SeoulTech SE Course Team Project - Tetris reference code.

This code contains very basic implementation of Tetris game.

Use it only for reference of how Java Swing and simple game logics work, if you don't know where to start.
To implement the actual game, like you've seen in the demo, you need to chagne a lot for implementation.
Hence, it would be better to start with your own code, and use this code as a hint.

The code implements the following functionalities.

  • Create game screen with JFrame.
  • Implement simple KeyListener for player's input.
  • Add Timer for dropping blocks.
  • Default blocks of Tetris game.
  • Basic game logics for block movement.
  • Simple examples for changing styles.

Obviously, the current code is deliberately changed into a crude state, to prevent you from using it as your base code.
For further funcionality implementations, you need to change the design and implementation a lot to make the code in better shape.


주의 여기 제시된 코드는 Java Swing 및 어떻게 게임을 구현해야 할지 힌트를 주기 위한 것입니다.
현재 디자인 및 구현은 앞으로 게임을 위한 다양한 기능을 구현하기에 적절한 상태가 아니니 단순한 참고용으로 사용하시기 바랍니다.

You might also like...

A simple puzzle game made with Unity to practice the game engine

A simple puzzle game made with Unity to practice the game engine.

Mar 30, 2022

It is a simple java terminal game. I built it in order to practice my code skills that I obtained while I was learning Java.

Java-terminal-game It is a simple java terminal game. I built it in order to practice my code skills that I obtained while I was learning Java. The ga

Jan 20, 2022

Minecraft Spigot 1.16 - plugin for compass tracking other players. MVP contains tracking closest player available.

Compass Tracker Overview Minecraft Spigot 1.16 Plugin. Plugin sets compass target to closest player in the overworld. Created to use with my friends t

Nov 15, 2021

Vanilla implementation of NEAT and Flappy Bird

Vanilla implementation of NEAT and Flappy Bird

Tidy Flappy Bird While in a lockdown, I decided to implement the algorithm first proposed in the original paper on Evolving Neural Networks through Au

Oct 26, 2021

Desktop/Android/HTML5/iOS Java game development framework

Desktop/Android/HTML5/iOS Java game development framework

Cross-platform Game Development Framework libGDX is a cross-platform Java game development framework based on OpenGL (ES) that works on Windows, Linux

Jan 1, 2023

A complete 3D game development suite written purely in Java.

A complete 3D game development suite written purely in Java.

jMonkeyEngine jMonkeyEngine is a 3-D game engine for adventurous Java developers. It’s open-source, cross-platform, and cutting-edge. 3.2.4 is the lat

Dec 31, 2022

Java / JavaFX / Kotlin Game Library (Engine)

Java / JavaFX / Kotlin Game Library (Engine)

About JavaFX Game Development Framework Why FXGL? No installation or setup required "Out of the box": Java 8-15, Win/Mac/Linux/Android 8+/iOS 11.0+/We

Jan 2, 2023

Jetserver is a high speed nio socket based multiplayer java game server written using Netty and Mike Rettig's Jetlang.It is specifically tuned for network based multiplayer games and supports TCP and UDP network protocols.

Note New version of Jetserver is called Nadron and is in a new netty 4 branch of this same repo. JetServer is a java nio based server specifically des

Dec 14, 2022

[LEGACY] LWJGL 2.X - The Lightweight Java Game Library.

[LEGACY] LWJGL - Lightweight Java Game Library WARNING This is the repository of the original LWJGL, which is no longer actively maintained. Unless yo

Dec 26, 2022
Owner
null
BattleShip-Game - This repository contains the code of the BattleShip (Bataille Navale) game programmed in Java.

Bataille Navale Auteur : SABIL Mohamed Amine Comment générer la documentation ? Placez vous dans le sous-dossier src : pour générer la documentation d

Mohamed Amine SABIL 1 Jan 4, 2022
With the games: brick breakers, tic-tac-toe, snake and tetris With the apps: calculator, stopwatch and text editor Themes, and hyperlinks

Game-Launcher --------------------- ABOUT THE GAME LAUNCHER ------------------------- With the games: brick breakers, tic-tac-toe, snake and tetris Wi

João Devesa 2 Dec 26, 2021
Operadora - A Minestom server implementation with basic features and supreme modularity <3

Operadora Operadora is a a Minestom server implementation with basic features, some utilities and full modularity. <3 Installation Download the latest

Zak Shearman 4 Dec 30, 2022
Working sample code for the basic concepts in Minecraft and Forge.

Working sample code for the basic concepts in Minecraft and Forge.

null 1.2k Dec 31, 2022
An implementation of the classic board game.

General Information An implementation of the classic board game Monopoly. Made by five students at BTU Cottbus-Senftenberg (Chair of Software Engineer

Maximilian Bels 1 Mar 29, 2022
please read README to see how to play this. and star me to help me! this is very helpful and thanksful for me.

Sharustry Mod Browser / 모드 브라우저로 다운로드하기 Only possible with 124 or higher, only can download "latest" release 124 버전 이상에서만 가능하고, 오직 가장 최근의 정식 릴리즈만 다운로드

Sharlotte 51 Nov 23, 2022
My Game Engine tested via my Cubecraft Game

My Game Engine tested via my Cubecraft Game Install: mvn -P {your OS name} clean install mvn -P mac clean install mvn -P linux clean install mvn -P wi

null 30 Oct 3, 2022
Snake-Game - A simple snake game written in java.

What's this? A simple snake game written in java. How to play Download the latest release. Ensure that a compatible java runtime is installed (optimal

Patrick260 4 Oct 31, 2022
Othello PvP (2-Player) Game Application created in Java using Swing and AWT, for playing the Othello game

Othello PvP (2-Player) Game Application created in Java using Swing and AWT, for playing the Othello game, a simple game that played on an 8 by 8 checkered board with 64 double-sided black and white discs. The game is easy to learn, but it takes time to master and develop winning strategies.

Soumyadeep Pal 1 Feb 28, 2022
The game is a 2D side scrolling system, where a player moves left, right, vertically or diagonally to traverse the game.

The game is a 2D side scrolling system, where a player moves left, right, vertically or diagonally to traverse the game.

Ravi Mandal 7 Sep 11, 2022