The colours may not be right as the ECS chipset limits UAE to 16 colours. I darkened the background colour manually since UAE picked a colour very close to the white used for he window borders. It looked ugly with dithering so I turned it off.
From looking at the backgammon code the syntax is very different from AmigaBasic, which makes sense since it is not a M$ product, but is from a company called MetaComo (According to the copyright notice)
BTW UAE is very slow on a 68030/25, especially when you have to use VMM to run it.
To run this I created a bootable disk with just ABasic and stack (It needs at least 50k of stack - and complains if it doesn't get it).
Although I don't have much more info about it if you have any questions just email me at email@example.com