-
Scrabble, puting chars into a 2d array
OK im making a game of scrabble in java for Computer Science.
The thing I can't work out, is how when given a string for a word and its direction (horizontal, vertical) can I check whether it goes there ( 1 char per cell-thingo without leaving the 15x15 array, and whether it will be allowed, must have a common letter with a word already placed (unless first word).
This is important so I can implement the scoring method.
Thanks in advance
llama009
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks