Skip to content

swansonmp/tetrisGalaxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris Galaxy v1.0.4.1

Introduction

Tetris Galaxy is a video game inspired by Tetris. In Tetris Galaxy, blocks fall from all edges of the screen towards the center. Lines are cleared in concentric squares around the center. Tetris Galaxy is a fun variation of Tetris that would be enjoyable to any Tetris fan.

Scope

This guide is for users seeking to install and play Tetris Galaxy.

This guide is not for users seeking extensive help to modify Tetris Galaxy.

Installation

  1. If you haven't already, install Java SE 8
  2. Download the Tetris Galaxy directory from Github

image of github download

  1. Run TetrisGalaxy.jar

image of files in local directory

Gameplay

Gameplay information can be found here.

Troubleshooting

  • Tetris Galaxy isn't working!
    1. Ensure Java is installed
    2. Ensure TetrisGalaxy.jar is placed in the same directory as all its folders and dependencies

FAQs

  • How do I know if I have Java?
    • Windows
      • Select Start -> Control Panel -> Add/Remove Programs
      • If Java is not listed, you must install Java
    • Mac
      • Under System Preferences, click on the Java icon
      • If you do not see a Java icon, you must install Java
  • Where is the pause menu? Where is the main menu?
    • Menus are the first of many features planned for Tetris Galaxy
  • What is the inspiration for the Tetris Galaxy?
    • Tetris Galaxy is the result of a single "what if?" from a team of Tetris fans

Source Code

while (!g.startIt()) { wait(150); }
    g.passIn(board, activeSet, scoring, bag);
    try { gameLoop();}
    catch (Exception e) { g.end();}

Code for the game loop located in Game.java. The graphics driver g is passed in game information from the previous iteration via the passIn method. Then, the gameLoop function computes logic for the next game tick.

Additional source code for Tetris Galaxy can be found on Github.

Support

For additional support, contact Matthew Swanson

License

Apache 2.0

About

A Tetris-like video game created for AppHackX.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages