File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes sink a dot com game in k&b Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "sink a dot com game in k&b" Watch "sink a dot com game in k&b" New topic
Author

sink a dot com game in k&b

vinodh kumar
Ranch Hand

Joined: Jan 07, 2008
Posts: 41
Hi all,

I am not able understand the sink a dot com game and the way to approach to code in Head First Java by k&B(5th Chapter)....

Can any one exaplain to me.....

Regards,
vinodh kumar


VINODH KUMAR
/**SCJP 1.5***chemical engineering rocks*/ [My Wiki]
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11498
    
  16

could you be more specific? You're question is very vague... kind of like saying "i don't understand how to get from Los Angeles to New York - please explain". Do you want to know how an internal combustion engine works, how to make plane reservations, or how to read a map?

The more specific your question, the easier it is to help. Do you need to know how to install the JDK, how to compile, or are you gettin specific errors you don't understand?


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Austin Lee
Ranch Hand

Joined: Feb 18, 2008
Posts: 56
Maybe you need post the source code.
Not everyone has this book.
Melinda Taylor
Greenhorn

Joined: Jun 29, 2011
Posts: 3
vinodh kumar wrote:I am not able understand the sink a dot com game and the way to approach to code in Head First Java by k&B(5th Chapter)....

Can any one exaplain to me.....


I don't understand of Sink a Dot Com mechanism either. I searched from Google to Wikipedia and I got nothing to explain how this game works except this unsolved mystery. I'm not talking about its implementation and its source code yet. I need to understand its domain model, how this sink a dot com works? From its user's perspective first. Kinda like from Domain Expert level. Maybe its high level design would help.

Can somebody help me?
Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1732
    
  12

Welcome to JavaRanch!

This game is like the classic board game "battleship."

If you have questions about the design or gameplay, please be more specific.

Oh, and DontWakeTheZombies


When you do things right, people won't be sure you've done anything at all.
Melinda Taylor
Greenhorn

Joined: Jun 29, 2011
Posts: 3
Janeice DelVecchio wrote:Welcome to JavaRanch!

This game is like the classic board game "battleship."

If you have questions about the design or gameplay, please be more specific.


Ah, thanks for the hint! Now I can learn to understand what the game is from http://en.wikipedia.org/wiki/Battleship_(game) and http://en.wikipedia.org/wiki/Battleship
Melinda Taylor
Greenhorn

Joined: Jun 29, 2011
Posts: 3
Austin Lee wrote:Maybe you need post the source code.
Not everyone has this book.


Its source code is here.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40041
    
  28
Welcome to the Ranch Melinda Taylor.

Thank you for finding the code. I would recommend any beginners using it to delete the package declarations from the files, and also the lineThat will make compiling easier.
jake dickens
Ranch Hand

Joined: Mar 23, 2011
Posts: 30
Campbell Ritchie wrote:Welcome to the Ranch Melinda Taylor.

Thank you for finding the code. I would recommend any beginners using it to delete the package declarations from the files, and also the lineThat will make compiling easier.


The Book gives you all the coding you need make sure you don't skip out it's in chap5 called ready bake code the class is called GameHelper because the game helper class sets up the board for you.

Been reading the book on and off cause I have other things to do at the moment.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sink a dot com game in k&b