Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PLEASE help for game programming -dominoes

Posted on 2002-06-10
3
Medium Priority
?
368 Views
Last Modified: 2006-11-17
I am a vb beginner trying to program the game of dominoes.  i cant even get the shuffle to work.

The basic rules are eady to understand but the actual programming includes shuffling 28 dominoes on a seperate form(boneyard) and then player and comp choosing 7 dominoes each in turn of the facedown dominoes, dropping and dragging into their domino area, they can see their own dominoes but not their opponents.  Then the person with the highest double(domino with same number on both sides) sets the domino in a playing area, if no player has a double then the dominoes are replaced and redrawn). The other player then sets a domino which has an end which matches this first domino and the game goes on with the trail of dominoes growing on each end.  

when a player does not have a bone in their hand that they can set, they must go to the boneyard and collect one of the spare bones.  The game ends when there are no more bones in the boneyard or a player has got rid of all their bones(gone "domino")

The player who has gone "domino" scores the total number of dots remaining on their opponents hand.  Or if no player has gone domino, the player who has least dots in their hand wins and scores the difference between the players' scores.  

players continue playing until one player has more points that the pre agreed winning total (normally 100).

There should be 2 main forms, one for the stock of shuffled dominoes(boneyard) and one for the players' hands and the playing/setting area.

The dominoes consist of variations of 0 to 6 all the way from [0|0] to [6|6] with the doubles being set vertically. i.e. [2,2]  [3,3] etc and the others e.g. [5,6] [3,4] horizontally when being set.

The extra options/preferences such as sound bytes, creating new players, difficulty level, help file etc i may be able to tackle later on if i have time but i am open to assistance there aswell.  I am in desperate need of help (deadline is 21st June) so if anyone can help i would be VERY grateful.  Thanks.
0
Comment
Question by:tine
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
n_narayanan earned 2000 total points
ID: 7068977
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7899896
Hi tine,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept n_narayanan's comment(s) as an answer.

tine, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7978285
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question