[TOC]
A Ship Battle game created in a weekend speed coding challenge using WinAPI, DirectX 12 and XAudio2
This page is all about the game! If you care about the source code (or even dare just looking at it) please read that document first: https://github.com/Ohjurot/ShipBattle/blob/main/CODE.md
- OS: Windows 10 64-Bit
- vcredists 2022
- Disk Space (HDD / SSD): 256 MB
- CPU: 4-Core
- Sound Card: XAudio2 compatible
- GPU: DirectX 12 compatible (Feature level 11.0)
- CPU Memory: 1GB
- GPU Memory: 512 MB
- Display: FullHD recommended (1920 * 1080)
After stating the game the main screen will be presented
Press the ENTER key on your keyboard to start a new game
Now you can place your fleet. Click on the top left of a boat to pick it up. Now you can move it with the cursor and rotate it by pressing the ENTER key. To drop the ship again, click the cell where you want to place it. Please note that the placement of ships is currently a bit buggy... the game may not allow you to place the ship in any location even if it should.
As soon as you are done placing your fleet click the radar.
Now you can aim on an empty playfield and try to hit the ships of the computer. To place your shot click with the mouse
Now your shot will travel and may hit a ship. In case the computer still has ships alive it will aim at your fleet.
In case the computer did not destroy your last ship you can now aim at the computers fleet again.
If the computers or your ships were totally destroyed you get an result screen (Player lost in the screen shoot)
By clicking on the radar you can switch between your (green) and the computers (red) fleet.
To finish the game and return to the main screen click on the "you lost" icon.
- Download the latest installer from the GitHub release page and run it as administrator (should ask for permission automatically)
- Click next to continue
- Read the License Agreement carefully, check the box in case you accept it
- click next
- Select if you want to install the game for all or the current user
- Choose the path where you want the game to be installed
- click next
- The installer will show you a summary of the installation task
- click install
- The installer is now installing all required files
- please wait
- As soon as the installer finished you have the option to directly start the game
- click finish