[US-02] Alternating shooting with feedback
Description
Implements alternating shooting functionality for the Battleship game as described in issue #2.
Changes
- Added
Gameclass to manage game state and alternating turns - Added
Playerclass to represent players and handle shooting logic - Enhanced
Boardclass with shot tracking and validation - Added comprehensive tests for alternating shooting functionality
- Fixed compilation issues with missing
Orientationenum and constructor inShipclass
Features Implemented
- Players take turns shooting at each other's boards
- Shot validation prevents duplicate shots and invalid coordinates
- Feedback provided for hits, misses, and invalid shots
- Game state tracks current player and game over conditions
- All acceptance criteria from issue #2 are met
Acceptance Criteria Verified
Closes #2