Coder Social home page Coder Social logo

smooth-e / gdxtris Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 7.91 MB

A mobile LAN multiplayer game inspired by Tetris.

License: GNU Affero General Public License v3.0

Java 100.00%
game games tetris tetris-game tetris-clone tetromino libgdx libgdx-game libgdx-android android

gdxtris's Introduction

Banner
Screenshot - Home Screen Screenshot - Gameplay Screenshot - Themes

Note The initial release of this project was on January 25, 2022. From that time the project had only seen minor improvements and fixes. However, as you can see from these recent commits, I decided to start rewriting the project, improving code readability and switching to new and more appropriate concepts and technologies. To summarize it all up, I am not currently accepting new Pull Requests for this project, even tho further the development of it will probably be slow.

GdxTris is a game made according to the Tetris Guidelines and inspired by JSTris. It is a game where you compete with other players, connected to the same local network.

How to play

In order to play, you and your opponents have to connect to the same local network (network doesn't need to have an internet access ^.^).

Next up, one of the players should tap on HOST in game's main menu. They will create a room on their device. Then they have to tap on the question mark button, here they can see their local ip address, which they have to provide to other players in order for them to connect.

Other players then have to input host's ip address into the room ip field and then tap on connect. If everything went okay, you all will be connected to the host and be ready to play. Ask the host to start the game and compete!

Game mechanics

Clear the lines to gain points. Scoring goes as it is described in guidelines. When the game starts, it assigns a "victim" for every player in the room. So every participant acts as an attacker for someone and as a victim for someone at once. When you clear any amount of lines, this amount gets sent to your victims pocket (4-line clear however sends 8 lines of garbage to your opponent). If you are not performing any line clears in a certain amount of time, your victim's pocket gets empty and the amount of lines which was there gets sent to player's field as some garbage lines. Perform line clears faster and more efficient than your opponents to beat them!

Other features

  1. Change app's color theme by tapping the brush icon in main menu.
  2. Change your username that will be shown to other players (from main menu also).
  3. Watch how other players perform during the session. In order to do so, tap onto question mark icon on the bottom right, then tap onto the eye icon next to the listed player, that you want to watch.

gdxtris's People

Contributors

smooth-e avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gdxtris's Issues

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.