An online multiplayer implementation of the classis Tetris. Made for my AP Computer Science Class.

A quick tour:
- Blocks on the left
- The queue of next blocks; the top most is the nearest coming block, use this information strategically!
- Large Tetris Board on the left
- Your Tetris Board which you can control with the arrow keys(all four are used)
- Small Tetris Board(s) on the right
- Opponent's boards. Greyed out ones indicate that player has lost.
- Download the game launcher.
- Open it by double-clicking(Windows) or right-click --> "Open" on Mac. It's important to right-click-open on Mac!!!
- A launcher window will prompt you to wait(for the game itself to download) then ask for your username.
- Enter the field and hit play!
- Download the server build.
- Configure the IP Address in the master server configuration sheet.
- Discover your IP address using services such as https://whatsmyip.com/. "localhost" or "127.0.0.1" also works when running locally. I recommend running on LAN with friends unless you're familiar with NAT punchthrough(The game uses both TCP and UDP, so configure your router that way).
- If you're denied access from this document, it's most likely because you're a stranger reading this :P
- Instead of using the launcher, run the latest client build directly with arguments:
java -jar LATEST_CLIENT_BUILD_PATH serverIP tcpPort udpPort username
- Configure the maximum number of players in that same configuration document. The server automatically starts the game once that number is reached
- Double click the downloaded server build and connect clients!
- Java Development Kit
- Kryonet
- Everything else made by me.