Java simple tank game
Java Projects. More Under: java. Post navigation Next Article. Previous Article. Android Projects. HTML Projects. Project: Survey Application in JavaScript with source code Please scroll down and click on the download button to…. Notify of. MPelletier Bill Bill 3 3 gold badges 5 5 silver badges 13 13 bronze badges. What does fire do? Does it immediately end the game? Does it fire a projectile? How do you determine if the shot hit the other tank?
If it does, end the game. I just am not sure how to check the other's position. This is a little too complicated — Bill. Add a comment. Active Oldest Votes. For example: public int getX ; public int getY ; public char getOrientation ; By calling these methods, you should get the x position, y position, and orientation of the tank. Improve this answer. Clark Clark 1, 1 1 gold badge 7 7 silver badges 18 18 bronze badges.
The Overflow Blog. Stack Gives Back Updated May 27, Java. A Simple Tank Battle Game. Updated Jun 3, Java. Updated Dec 16, Java. Java Implementation of classic Tank Fighter game. Updated Oct 18, Java. Updated Apr 8, Java. Updated May 8, Java. Updated Feb 2, Java. Star 0.
Updated Oct 14, Java. Java project in summer practice. Updated Aug 5, Java. Robot Code for Robocode Tanks.
0コメント