September 03, 2010, 11:48:54 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  Home Help Media Affiliates Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Coding a game board  (Read 997 times)
0 Members and 1 Guest are viewing this topic.
kimski24
Junior Member
*

Reputation: 0
Offline Offline
Posts: 9
Referrals: 0

Awards
« on: July 21, 2008, 03:40:34 PM »

hello people,
   
 I am trying to design a 6 by 2 board, whic basically would representa a game board, this board on it default state would have 4 standard peas in it, i would like to use java 2d or 3d, but i dont have  a clue to get started , pls can anyone help???


Kimberly
Logged
Javaforums.net :: a community about Java software development.
« on: July 21, 2008, 03:40:34 PM »

Your Ad Here
 Logged
Depress
Junior Member
*

Reputation: 0
Offline Offline
Gender: Female
Posts: 4
Referrals: 0

Awards
« Reply #1 on: August 05, 2008, 01:44:37 PM »

Hi,

First of all, you need to create an abstract vision of your gameboard. Determine what objects will be on the board and how you store them on the board.

For example:
You have an GameBoard Class, and this Class has got an 2D Array of GameBoardObjects. GameBoardObjects are different type of pieces that extend the base GameBoardObjects.

When you have this all, then start thinking of displaying it on screen, this also will speed up your development because this is more rewarding then trying to show something on screen for weeks with none or barely a result.

Greetings


Logged
Javaforums.net :: a community about Java software development.
   

Your Ad Here
 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.214 seconds with 33 queries.

Google visited last this page Today at 07:13:49 PM