Nirmallya Kundu
University of Texas at Dallas, M.S. CS
Principal Software Engineer, MathWorks Inc.
Greater Boston, MA
admin @ kundu . me
A barrel race is a rodeo event in which the Player starts at a gate and must ride completely around three barrels, circling each of the barrels with the help of the accelerometer.
The object is to get the fastest time without knocking over any of the barrels.
In the game, the “horse” starts out at the gate, and the player must maneuver him around the three barrels, and back through the gate. Player does this by tilting their device one way or another.
The course is a square with room for a start button and the timer at the bottom. Touching any of the barrels means Player lose, and must start over. Hitting the fences around the course will add 5 seconds to the Player time, but the Player get to continue the race.
The circles arranged in a triangle are the barrels and the black circle at the bottom is the horse at the starting gate, and the timer is shown as minutes, seconds, and hundredths.
The timer starts when the Player press the start button and ends when the horse is entirely through the gate.
The position of the horse is calculated based upon accelerometer readings. The program need to determine whether the horse has circled a given barrel, or touched it.
The program, keep track of the 10 fastest times along with the name of the player. When a game ends, the program check the time against the current list of fastest times and, if it is faster than the slowest time, drop off the slowest time and insert the new time in the proper place in the list, along with the name the winner enters.
The application provides a way in the action bar to view high scores. Thus the program will have to keep a file of scores.
The program make the app configurable, by allowing the user to configure things like color, size of the barrels, etc.
This is an individual project for the course Advanced Computer Networks under the guidance of Dr. Zygmunt Haas. This project mainly includes designing a session between two individuals on separate computers to exchange messages using UDP Datagram.
The IMPORTANT features of the application include:
This application is designed and developed in Java, front-end UI is developed using Java Swing and back-end support using MySQL.
"thiNK Creative"
"Listen more, talk less and be decisive when the time comes"