dcsimg
Results 1 to 29 of 29

Thread: [RESOLVED] DAMA but DAMATH

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Resolved [RESOLVED] DAMA but DAMATH

    hi there anyone here can help me to create a board game name DAMATH it looks like dama but there is mathematical operation it originates in the philippines anyone here plsssssssss

    dont know how to start the board and create a board 8x8

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    24,871
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Candon City, Ilocos Sur, Phils.
    Posts
    11,038

    Re: DAMA but DAMATH

    Welcome to the forums!

    It is not easy as it looks, I attempted to make one using WPF and C# but was stalled because laying the rules of the game is somewhat difficult. I hope you progress on it, kaya mo yan!
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  4. #4
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: DAMA but DAMATH

    Your best bet is to break it down into steps:
    1. Design board and peices
    2. Allow the peices to move; anywhere at first
    3. Implement rules for moving the peices correctly
    4. Incorporate players, where each can move thier peices in turn
    5. *** Dificulty here *** Add AI for a computer opponent
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Re: DAMA but DAMATH

    i dont know how to create the interface using VB 6.0 ...
    how to create the interface??? anyone can help me?
    the 8x8 with 16 piece
    i want to start my board game help me what i will gonna use in designing a board game

    creating AI is the hardest part here i wish i can do that ^_^

  6. #6

  7. #7
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: DAMA but DAMATH

    I can help, but creating the interface is the easiest part for some people, if you do not even know where to start, this may not be a good project for you.

    I will help you any way I can, but I can not write it for you.

    The interface is mainly programmer preference. The easiest way for you would be to use pictureboxes. You can also use buttons if you would like to see them "click". The most flexable way would be to draw right on the form, sectioning it off into squares.

    What version of VB are you using?

    Just saw the VB6 in the previous post. You can create a control array of pictureboxes. Create a form with 16 pictureboxes with the same name each with a different index and arrange them in order.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  8. #8

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Re: DAMA but DAMATH

    oh i see i know dat thanks a lot i know how to use control array .. no problem with the 8x8 interface but how about the piece??? the circle one? how can i create dat...

    sir marmar can use give me the link you are talking about using control array
    Last edited by hueberting; Sep 10th, 2010 at 05:27 AM.

  9. #9

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Re: [RESOLVED] DAMA but DAMATH

    i want to start my theses plss help ^_^

  10. #10
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: [RESOLVED] DAMA but DAMATH

    Draw a picture in paint.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  11. #11

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Re: [RESOLVED] DAMA but DAMATH

    is the pieces are pictures too?? like the 8x8 interface but in the 8x8 interface i will use picture box control array right??

    but how about the pieces i will use only circle 8 pieces in the red and 8 pieces in the blue how can i make dat???

  12. #12
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Candon City, Ilocos Sur, Phils.
    Posts
    11,038

    Re: [RESOLVED] DAMA but DAMATH

    Why did you mark your thread as resolved?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  13. #13

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Re: [RESOLVED] DAMA but DAMATH

    im sori my mistake pls help my in making the interface

  14. #14

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Re: [RESOLVED] DAMA but DAMATH

    i am using vb . net but i cannot create a control array ai dont know how to use vb .net because our professor advice to use vb . net

  15. #15
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: [RESOLVED] DAMA but DAMATH

    There are no control arrays in VB.net. You can either:
    1. Create 64 pictureboxes/controls
    2. Use 1 large picturebox and determine location by x and y
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  16. #16

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Re: [RESOLVED] DAMA but DAMATH

    ahhh i see the big picture box sets the interface of the board

    how can i determine the x and y

  17. #17
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: [RESOLVED] DAMA but DAMATH

    The Mousedown event
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  18. #18

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Re: [RESOLVED] DAMA but DAMATH

    i apologize mr marmar bcoz i dont have any idea with that load procedure but how??

    is there have any codings ?? or jsut in the load procedure?

    [Edited by MartinLiss]
    Last edited by MartinLiss; Sep 18th, 2010 at 10:31 AM.

  19. #19
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: [RESOLVED] DAMA but DAMATH

    I don't understand what you don't understand. Divide the width and height by 8 and that will give you the regions of the picturebox that represent squares. If you have a question, please try to completely explain. Don't use less word, use more words.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  20. #20

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Re: [RESOLVED] DAMA but DAMATH

    it goes like this mr. marmar i have 1 big picture box then i have 64picture box to make a 8x8 board
    then my piece is also a picture box i dont know how to make move the piece like after clicking the piece then there is a possible move.

    theres too many validation

    can u give me the codes sir?

  21. #21
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: [RESOLVED] DAMA but DAMATH

    To move a peice you would just change the Left and Top properties. If you are having trouble with that then this project may be too much for you because that is the easy part.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  22. #22

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    11

    Re: [RESOLVED] DAMA but DAMATH

    i will to do dat in ur words ^_^ im sure ur a good programmer

  23. #23
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Candon City, Ilocos Sur, Phils.
    Posts
    11,038

    Re: [RESOLVED] DAMA but DAMATH

    How is the project going?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  24. #24
    Registered User
    Join Date
    Jul 2015
    Posts
    3

    Re: [RESOLVED] DAMA but DAMATH

    ..me too.. can anyone will help us please.. its really needed

  25. #25
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: [RESOLVED] DAMA but DAMATH

    If you need help then create a new thread.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  26. #26
    Registered User
    Join Date
    Jul 2015
    Posts
    3

    Re: [RESOLVED] DAMA but DAMATH

    ..i dont know the codes sir..

  27. #27
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: [RESOLVED] DAMA but DAMATH

    Quote Originally Posted by ticosians View Post
    ..i dont know the codes sir..
    Codes for what? You haven't even asked any questions.

    I don't know the codes either since I can't read your mind.

    Look at other questions on this forum that are marked resolved. You will see people ask questions and then they get answers or more questions then eventually answers.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  28. #28
    Registered User
    Join Date
    Jul 2015
    Posts
    3

    Re: [RESOLVED] DAMA but DAMATH

    ..codes for the damath sir..

  29. #29
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: [RESOLVED] DAMA but DAMATH

    Quote Originally Posted by ticosians View Post
    ..codes for the damath sir..
    Whats a damath? There are several problems with your post.

    1) You did not provide what you did.
    2) You did not explain what does not work.
    3) You did not follow my previous post.

    So if you can't follow directions, you will never achieve your goal no matter how many codes anyone provides.

    I suggest taking this course: Learn VB then maybe you can ask meaningful questions.

    What you fail to understand is even if people can read your mind and provide you with the code you need you will not be able to use it without a basic understanding and all you will do is waste everyone's time who tries to help you. Why do you think no one is responding to you? They all learned that you can't help people who refuse to help themselves. Why am I responding? Perhaps I hope you wisen up. Perhaps I am being dumb.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width