In this project you will complete a full tetris game using the Java programming language and platform. This repository is for the first stage of the project. In this stage, you will be implementing the S, Z, and I shapes.
Run this from your repository directory:
javac Game.java
Log into your C9.io workspace and launch VNC before attempting to run the application.
Run this from your repository directory:
java Game
When you are writing your Java code, make sure that you set your tab size to be 2 spaces.
- Create repository
- Install VNC
- Compile and launch Game
- Fix SShape.rotate() method: it is not checking whether cells are empty before rotating
- Implement ZShape and all of its methods. Comment in z code in Grid.java to test your ZShape class.
- Implement IShape and all of its methods. Comment in i code in Grid.java to test your IShape class.
Use your GitHub repository to turn in your assignment. Complete each task one at a time. Once you've completed the task and it work as you'd like, commit and push it.
Check the status of your repository. Notice that the files you've modified are listed:
git status
Add the files you want to commit to the staging area:
git add SShape.java
Commit the staged files (include the task description from the assignment):
git commit -m "Task: TASK DESCRIPTION"
Push your commits back to GitHub:
git push