Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    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:
    139
    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:
    255
    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:
    139
    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.