Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

backgammon in 3d cupple of questions...

Discussion in 'Physics' started by shlomitubul770, Jul 11, 2018.

  1. shlomitubul770

    shlomitubul770

    Joined:
    Jul 11, 2018
    Posts:
    2
    hello everyone !
    first i must say im web developer, not of games,so this is my first project in unity so i didnt have backgound in this industry.

    i want to create game like backgammon in d3,i find nice d3 model board for the game but
    i cant understand how to track the checker.
    any suggestions ?
    (sorry for the bad english...hope you guys understand)
     
    BrandyStarbrite likes this.
  2. BoogieD

    BoogieD

    Joined:
    Jun 8, 2016
    Posts:
    211
    I know nothing about backgammon but just had a look at a board.
    If I understand you correctly, could you use multi dimensional arrays to hold values to represent the checkers?
     
    Last edited: Jul 12, 2018
    shlomitubul770 likes this.
  3. SparrowsNest

    SparrowsNest

    Joined:
    Apr 6, 2017
    Posts:
    1,167
    look up a guy called "Quill18creates" on youtube, he's done a how to make a board game tutorial for a game very similar to backgammon(dumbest name ever, it's cal damka btw)
     
    shlomitubul770 likes this.
  4. shlomitubul770

    shlomitubul770

    Joined:
    Jul 11, 2018
    Posts:
    2
    mmm i don't think that i need two dimensional arrays.. take a look on this picture : PC162517_86aa633b-2484-45d3-8be3-b21a40c6cf05_1024x1024.jpeg
     
  5. BoogieD

    BoogieD

    Joined:
    Jun 8, 2016
    Posts:
    211
    Now that I have looked at the game rules, you may only need a pair of simple arrays with each element holding a integer for the column count. Then write a function to find all the valid moves and a way of evaluating the most beneficial move depending on other factors in the state of the game.
     
    shlomitubul770 likes this.