How small can you make the classic game "Battleship"?
Requirements:
- Should be played on a 9x9 board, columns Labeled A-I and rows 1-9
- User input should be in the form of strings (A1,B7,F4,etc.) or a cursor
- Player must be able to rotate and place ships before the game begins
- Ships should be provided per the following:
Size of ship | Quantity |
---|---|
2 spaces | 2 |
3 spaces | 1 |
4 spaces | 1 |
5 spaces | 1 |
- Display which spaces a used has "shot" already, and prevent them from shooting there
- Display which spaces an AI has shot
- Display boats, or a representation of them
- Randomly place AI boats
- Game ends when the player or the AI shoots all of the spaces occupied by the enemies ships
Notes:
- Assume a cleared memory
- Minus points for speed
- Minus points for size
- Bonus points if you clean up your variables
- Must be compatible with 84+; 83+ is optional
- You may use libs and dependancies
Goal: Lowest score
Object | Score |
---|---|
Size | 1 point per byte |
Speed (time from user input to next user input) | 1 point per second |
Optimization | 3 points for every optimization i can find |
Graphics | 1-10 scale; better graphics, lower score |
Ease of use | 1-10 scale; easier = lower score |
Uses Libraries | 2 points every time the lib is used |
Must provide a download link. Any site works for me