Log In  

Cart #sosiburota-2 | 2019-02-21 | Code ▽ | Embed ▽ | No License
1

[0x0]

The start of an implementation of the Royal Game of Ur.

Ur dates back to at least 2400 BC, and was an extremely popular strategy race game for millennia. Hopefully I can do it some justice with my implementation!

Update 2019-02-20
The intro screen is complete and the play-screen is under way.
We can now see pieces on the playing field, and soon we will have the ability to move pieces.

Update 2019-02-21

  • Swapped the color on the play pieces to show up against the background.
  • Added piece selection and random CPU move selection

TODO:

  • Cleanup and simplify piece selection
  • Add check for valid moves
  • Add check for piece collision.
  • Redo gameboard to simplify collision detection

The Rules Of Ur

  • Turns alternate between players
  • On your turn: roll 4 4-sided dice marked 0,0,1,1 and count up the total spaces to move (0 to 4)
  • Select a piece to move the number of spaces rolled
  • If your selected piece ends its move on a square occupied by an enemy piece, you send that piece back to its owners starting area
  • A piece on the
    [0x0]
    square in the center of the play field is immune to attack
  • A piece can only move off the board on an exact roll
  • First player to move all pieces through the board and off, wins.
P#62098 2019-02-20 04:49 ( Edited 2019-02-21 15:57)


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-16 15:06:43 | 0.010s | Q:14