BattleShip Simulator

Source
Code
Look at Battleship.txt and GoForIt.java first
BPI - Battleship Programmers Interface
Armanda Battleship Game with Instructions
| Performance Rating |
Homework + Final Bonus* |
Tournament
Mode |
|
| 4 |
2 |
||
| 5 |
4 |
Place |
Bonus Points |
| 6 |
5+25% |
1st |
20 |
| 7 |
5+35% |
2nd |
18 |
| 8 |
5+60% |
3rd |
16 |
| 9 |
5+90% |
4th |
14 |
| 10 |
5+100% |
5th |
12 |
| 11 |
5+120% |
6th |
10 |
Defeat Battlebot/HAL/11.25 |
5 |
7th |
8 |
| * Note at 9.5 Performance Rating you Get an Automatic A on Final and credit for 5 Assignments - PS may also give final exemptions for 7..9.5 Ratings | |||
Program must run SingleUser and tournament mode without crashing, and be able to produce minimum performance rating for 10,000 random games. Note this assignment can be handed in more than once, but you can only get the extra credit for your best player. The reason for this is that you may be able to get a program working without crashing at a performance level of 7, but when you achieve a performance level of 9 your program may become unstable. Thereby in this situation you have locked in your 2 extra credit points.
BPI - Battleship Programmers Interface
Download bpi.zip BPI Above is Current
If You Don't Know How To Play BattleShip Try These Links
Performance Rating Rankings
Statistics Final GrandPrix 2002 Tournament
Statiistics Previous Tournaments
Statiistics For Head to Head Combat
| Class Name
|
Alter Ego |
Rating |
Coverage |
Language |
Comment |
|
| PlayerJBP |
Jordan Pani Battlebot2 |
11.22 |
35.48% |
Java |
First Person
to Break 11.0 - Spring/02 |
|
| BattleshipHAL | DOD/Navy |
11.28 |
35.45% |
Java |
Close to end
game solution - Spring/02 |
|
| PlayerAT02 |
Alex Tulkoff |
11.33 |
35.3% |
Java |
Closest
end game solution - Spring/04 |
|
| PlayerCWA0 |
Ravenous - Cory
Antonizio |
10.23 |
39.10% |
Java |
First Person
to Develop Defensive Ship Placement Strategy - Spring/01 |
|
| PlayerDJB |
David Bentley
Palomar College |
7.22 |
55.39% |
C |
Palomar Teenager
who defeated classmates |
|
| PlayerGM |
Greg Messer Palomar College |
10.54 |
37.97% |
C |
Palomar Student
Defeated Teacher |
|
| General Strategies were translated from C to Java. Exact mapping not done. | ||||||
| Player | Performance Rating |
Board Coverage |
Time |
| Alex02 MC LOF2 | 11.33 |
35.30% |
455.65 |
| Alex04 MC LF2 + LF4 | 11.33 |
35.30% |
449.27 |
| BattleShipHAL | 11.28 |
35.45% |
19.48 |
| Battle-bot2 | 11.22 |
35.63% |
2846.66 |
| Alex03 MC LOF3 | 11.20 |
35.70% |
458.34 |
| Battle-bot | 11.14 |
35.88% |
2022.68 |
| Ace in the Hole 2 | 11.07 |
36.12% |
70.74 |
| Ace in the Hole | 11.06 |
36.15% |
74.12 |
| Real Fighter 2 | 10.35 |
38.63% |
0.76 |
| Ravenous | 10.09 |
39.63% |
0.18 |
| Bomber Man | 9.25 |
43.24% |
9.52 |
| Linear Enhanced | 8.83 |
45.25% |
0.19 |
| Real Fighter | 8.71 |
45.89% |
0.87 |
| BenchMark2-Linear En | 7.37 |
54.23% |
0.63 |
| EricFord | 6.25 |
63.93% |
1.09 |
| Palomar HOF | 4.79 |
83.37% |
0.39 |
| BenchMark0-Linear | 4.59 |
86.98% |
0.24 |
| BenchMark1-Random | -56.73 |
176.39% |
1.77 |
| Java Address | Player | Performance Rating |
Board Coverage |
Time msec/Game |
Time Efficiency |
| PlayerCWA0@b66cc | Ravenous | 10.09 | 39.63% | 0.18 | 416.2 |
| PlayerNAS0@a470b8 | Real Fighter 2 | 10.35 | 38.63% | 0.76 | 145.0 |
| PlayerTMD4@546e25 | Linear Enhanced | 8.83 | 45.25% | 0.19 | 60.2 |
| PlayerTMD6@d8957f | BattleShipHAL | 11.28 | 35.45% | 19.48 | 22.4 |
| PlayerNAS11@73831b | Real Fighter | 8.71 | 45.89% | 0.87 | 11.0 |
| PlayerTMD5@18f375 | Ace in the Hole 2 | 11.07 | 36.12% | 70.74 | 4.5 |
| PlayerTMD3@58b649 | Ace in the Hole | 11.06 | 36.15% | 74.12 | 4.3 |
| PlayerJS1@291aff | Bomber Man | 9.25 | 43.24% | 9.52 | 2.3 |
| PlayerTMD2@fd13b5 | BenchMark2-Linear En | 7.37 | 54.23% | 0.63 | 2.0 |
| PlayerAT04@430b5c | Alex04 MC LF2 + LF4 | 11.33 | 35.30% | 449.27 | 1.0 |
| PlayerAT02@ab95e6 | Alex02 MC LOF2 | 11.33 | 35.30% | 455.65 | 1.0 |
| PlayerAT03@aaa14a | Alex03 MC LOF3 | 11.2 | 35.70% | 458.34 | 0.8 |
| PlayerECF1@e0bc08 | EricFord | 6.25 | 63.93% | 1.09 | 0.2 |
| PlayerJBP0@b2fd8f | Battle-bot | 11.14 | 35.88% | 2022.68 | 0.2 |
| PlayerJBP1@9ed927 | Battle-bot2 | 11.22 | 35.63% | 2846.66 | 0.1 |
| PlayerTMD0@f9f9d8 | BenchMark0-Linear | 4.59 | 86.98% | 0.24 | 0.1 |
| PlayerGM@8a0d5d | Palomar HOF | 4.79 | 83.37% | 0.39 | 0.1 |
Performance |
Tournament Points |
Time | Series Victories |
Won | Loss | Quickest Victory |
Coverage | Combatant |
11.22 |
27 |
16738 |
16 |
1692 |
108 |
21 |
35.64% |
BattleShipHAL:DOD/Navy |
11.15 |
20 |
61816 |
14 |
1630 |
170 |
33 |
35.85% |
Ace in the Hole 2:T. DeDonno |
10.11 |
18 |
350 |
12 |
1537 |
263 |
21 |
39.56% |
Ravenous:Cory |
11.24 |
15 |
407825 |
12 |
1519 |
281 |
22 |
35.56% |
Alex03:Monte Carlo + lof3 + lof3a |
11.41 |
11 |
404128 |
10 |
1499 |
301 |
24 |
35.05% |
Alex02:Monte Carlo + lof2 |
10.92 |
10 |
1764258 |
13 |
1516 |
284 |
54 |
36.62% |
Battle-bot:Jordan |
11.43 |
9 |
404880 |
8 |
1469 |
331 |
72 |
34.99% |
Alex04:Monte Carlo + lof4 + lof2 |
8.81 |
5 |
230 |
5 |
1323 |
477 |
40 |
45.37% |
Linear Enhanced Benchmark 4 |
4.81 |
3 |
430 |
2 |
1095 |
705 |
272 |
83.08% |
Palomar H of Framer: G. Messer |
4.57 |
2 |
430 |
2 |
1115 |
685 |
102 |
87.48% |
Linear:BenchMark0 |
11.12 |
2 |
51802 |
9 |
1493 |
307 |
33 |
35.94% |
Ace in the Hole:T. DeDonno |
11.15 |
1 |
2654799 |
10 |
1498 |
302 |
80 |
35.87% |
Battle-bot2:Jordan |
9.23 |
1 |
8265 |
9 |
1512 |
288 |
28 |
43.30% |
Bomber Man: Jefferson |
10.16 |
1 |
790 |
7 |
1430 |
370 |
93 |
39.35% |
REAL Fighter Nas |
8.67 |
0 |
871 |
4 |
1304 |
496 |
53 |
46.09% |
REAL Fighter2: Nas |
7.38 |
0 |
590 |
3 |
1167 |
633 |
86 |
54.18% |
Random Enhanced:BenchMark 2 |
-52.7 |
0 |
1190 |
0 |
48 |
1752 |
625 |
174.43% |
Random:BenchMark1 |
Final 2002 Grand Prix Tournament
| Perf | Scor | mSec | Series | Won | Lost | Fewest | Cover | Commander |
| 11.16 | 28 | 253820 | 11 | 15995 | 305 | 21 | 35.84% | BattleShipHAL:DOD/Navy |
| 11.1 | 21 | 117600 | 11 | 1923 | 377 | 33 | 36.03% | Ace_in_the_Hole 2: T.DeDonno |
| 9.99 | 20 | 7070 | 12 | 2106 | 194 | 21 | 40.01% | Ravenous:Cory |
| 11.05 | 14 | 3004780 | 10 | 1836 | 464 | 68 | 36.17% | Battle-bot:Jordan_Pani |
| 10.29 | 11 | 8200 | 9 | 1883 | 417 | 71 | 38.85% | REAL_FIGHTER:NAS |
| 10.69 | 8 | 8520 | 8 | 1874 | 426 | 96 | 37.41% | Palomar_HoF_Enhanced:G. Messer |
| 9.9 | 4 | 9010 | 8 | 1807 | 493 | 87 | 40.39% | nikkiology:Nicole Brazil |
| 8.68 | 1 | 12670 | 5 | 1681 | 619 | 53 | 46.07% | REAL_FIGHTER_2:NAS |
| 8.83 | 0 | 9770 | 6 | 1718 | 582 | 40 | 45.25% | Linear_Enhanced:BenchMark4 |
| 7.32 | 0 | 8710 | 4 | 1416 | 884 | 96 | 54.60% | Random_Ehanced:BenchMark2 |
| 4.65 | 0 | 13330 | 3 | 1372 | 928 | 116 | 86.00% | Palomar_HoF_Teenager:DJB |
| 4.58 | 0 | 14690 | 2 | 1275 | 1025 | 102 | 87.25% | Linear:BenchMark0 |
| 4.78 | 0 | 13100 | 2 | 1214 | 1086 | 272 | 83.58% | Palomar_Hall_of_Framer:G. Messer |
| -52.75 | 0 | 24390 | 0 | 47 | 2253 | 625 | 178.20% | Random:BenchMark1 |
Armanda Battleship Game with Instructions
Microsoft Windows Downloadable
Another Battleship Game
Very Similar to One Above