开发者

Wpf Backgammon board

开发者 https://www.devze.com 2023-01-09 22:57 出处:网络
What are your ideas for designing backgammon board using WPF? may i use picture for 开发者_Go百科board background?

What are your ideas for designing backgammon board using WPF? may i use picture for 开发者_Go百科board background? how about nuts? thanks all.


My initial idea would be to set up a 15x3 matrix of resizable images. The leftmost and righmost of the 15 would be the inner and outer table sides of the boards and the central one would be the bar.

The three-high dimension would be the middle of the board (no image) with the triangular images when the pieces are placed at top and bottom.

Then I would see how that worked out with resizing. If no good, change it.

I'd make these all the same size except possibly the outer table edge since you don't need to put any pieces there.

Keep in mind that you need:

  • space to show the dice throws and doubling cube.
  • a way to offset the pieces slightly if you end up with six or more at one point.

Perhaps a good move would be to fire up the Windows backgammon game and see how it does it.

0

精彩评论

暂无评论...
验证码 换一张
取 消