Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Battleship:
- -Field is 8x8
- -24 shots
- -1x 2 ship, 1x 3 ship, 1x 4 ship
- -Grab frame from capture card every ~1 second
- -Downscale image
- -Exclude fields info is known about
- -Compare every field info is not known (dot in the center) with either Blue for X or Yellow for hit ship (else not hit)
- -As soon as first change (=new hit field) is found update list and abort (or keep updating if player might be too fast)
- -Find next best location to shoot at via algorithm and display graphically
- Key: RHYVM-6GD6Q-MJYP9-GVBFC-G4Q68
- Visual Studio 2012
- Visual Studio 2013
- Visual Studio 2015
- Asus Zenbook UX32VD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement