Advertisement
dragonbane

Battleship stuff

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