Be the first to rate this file! 87 downloads (last 30 days) File Size: 2.15 MB File ID: #21875

BattleShip

by Isaac Noh

 

23 Oct 2008 (Updated 09 Nov 2009)

Code covered by BSD License  

Learn and have fun with an old classic.

Download Now | Watch this File

File Information
Description

This is a 2 player game that demonstrates UDP communication with MATLAB® and the Instrument Control Toolbox™.

Play against colleagues (after work hours of course) and see who is "King of the Lab."

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
speak

Required Products Instrument Control Toolbox
MATLAB release MATLAB 7.0.4 (R14SP2)
Zip File Content  
Other Files
Battleship/atboard.m,
Battleship/atgridpt.m,
Battleship/battleship.m,
Battleship/bsclose.m,
Battleship/bsconnect.m,
Battleship/bshipSounds.mat,
Battleship/gameOver.m,
Battleship/genLocation.m,
Battleship/license.txt,
Battleship/locboard.m,
Battleship/locgridpt.m,
Battleship/ReadMe.txt,
Battleship/readPort.m,
Battleship/ship.m,
Battleship/ships.mat,
Battleship/soundOff.m,
Battleship/speak.m,
Battleship/sunk.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
11 Aug 2009

Updated copyright

09 Nov 2009

Updated copyright information

Tag Activity for this File
Tag Applied By Date/Time
udp Isaac Noh 23 Oct 2008 13:53:36
battle Isaac Noh 23 Oct 2008 13:53:36
ship Isaac Noh 23 Oct 2008 13:53:36
battleship Isaac Noh 23 Oct 2008 13:53:36
instrument control toolbox Isaac Noh 23 Oct 2008 13:53:36
game Isaac Noh 23 Oct 2008 13:53:36
games Isaac Noh 23 Oct 2008 13:53:36
function handle Isaac Noh 23 Oct 2008 13:53:36
nested functions Isaac Noh 23 Oct 2008 13:53:36
function handles Isaac Noh 23 Oct 2008 13:53:36
nested function Isaac Noh 23 Oct 2008 13:53:36
fun Isaac Noh 23 Oct 2008 13:53:36
udp example The Instrument Control Team 08 Nov 2008 14:39:17
udpip The Instrument Control Team 08 Nov 2008 14:39:23
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com