Beldaran
03-20-2003, 05:05 PM
Here's a screenshot of the finished project:
http://www.forrestkyle.com/tetris/screenshot.jpg
I had fun programming this game. I worked with 3 other guys in a group. It was a project for CS 142. So hey, my first video game.:)
Unfortunately, unless you have a java compiler, you can't play this game. Java can't generate executables the way C++ can. Since this program is a java application and not an applet, it can only be run by compiling the code.
I am going to try and modify the code to run in an applet but I don't think it will work because of what kind of grahic library we used. I'll let you know if I suceed and you guys can play it.
The GUI was made by me in Photoshop. I did about half the engine programming and some menu program. The other guys did the other half of the engine programming and most of the menu programming.
The options menu allows you to choose the background color and the difficulty setting. Quit opens a window asking if you'd like to quit, and the pause/resume button is fully functional. If you press newgame, everything is cleared and a new game starts. Everything works well and doesn't have any bugs. The "phsyics" (which I made) are nice and comfortable. I have played the game for a while and gotten quite far.
Anyway, so that's that.:)
***************
EDIT
***************
HERE TRY THIS. THIS IS AN EXECUTABLE THAT MIGHT WORK (http://www.forrestkyle.com/tetris/tetris.exe)
http://www.forrestkyle.com/tetris/screenshot.jpg
I had fun programming this game. I worked with 3 other guys in a group. It was a project for CS 142. So hey, my first video game.:)
Unfortunately, unless you have a java compiler, you can't play this game. Java can't generate executables the way C++ can. Since this program is a java application and not an applet, it can only be run by compiling the code.
I am going to try and modify the code to run in an applet but I don't think it will work because of what kind of grahic library we used. I'll let you know if I suceed and you guys can play it.
The GUI was made by me in Photoshop. I did about half the engine programming and some menu program. The other guys did the other half of the engine programming and most of the menu programming.
The options menu allows you to choose the background color and the difficulty setting. Quit opens a window asking if you'd like to quit, and the pause/resume button is fully functional. If you press newgame, everything is cleared and a new game starts. Everything works well and doesn't have any bugs. The "phsyics" (which I made) are nice and comfortable. I have played the game for a while and gotten quite far.
Anyway, so that's that.:)
***************
EDIT
***************
HERE TRY THIS. THIS IS AN EXECUTABLE THAT MIGHT WORK (http://www.forrestkyle.com/tetris/tetris.exe)