Backgammon

Discussion, Reviews & High-scores

Moderator: Moderators

Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Re: Backgammon

Post by Boray »

I put them here for you:
http://www.boray.se/gammon/gammon_bug-byte.prg
http://www.boray.se/gammon/gammon-compute.prg

I think I remember another one though. Not sure. I didn't play backgammon back then.
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Re: Backgammon

Post by Boray »

Now, I've tried them.

"Compute"
Image

Need to know:
* To move a checker off the board in the final play, you should write "OFF" as the destination.
* If you can't move a checker, you should write "NO" as the destination.

PLUS:
* It's playable
* It's fast

MINUS:
* The board is rotated 90 degrees.
* It's not very clever (but maybe that's a plus for a beginner).


"Bug-Byte"
Image

PLUS:
* The board is in the correct orientation.

MINUS:
* It's very slow.
* I can't find any key to swap which dice to move first so I got stuck as in the picture above. I have one checker on the bar. It asks me what to do with the 6, but as point F is blocked, I can't move the 6 fist but have to move the 5 first and then the 6. Can't do that... Stuck.
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
User avatar
orion70
VICtalian
Posts: 4337
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Re: Backgammon

Post by orion70 »

Thank you Boray! Will learn ASAP :)
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Re: Backgammon

Post by Boray »

Maybe I should try to write my own backgammon game for vic-20... I will at least give it a thought. Seems pretty hard but the competition on vic-20 doesn't seem that overwhelming.
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
User avatar
orion70
VICtalian
Posts: 4337
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Re: Backgammon

Post by orion70 »

Or maybe use an existing program as a backbone, and work on the AI?
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Re: Backgammon

Post by Boray »

My conclusion so far: Writing a decent backgammon AI seems pretty complex. I don't think I want to dig into that right now... maybe some day though... bump the thread in 10 years or so! :lol:
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Re: Backgammon

Post by Boray »

I just couldn't let it be. I have been working on a new Vic-20 backgammon game for some time now. It's far from ready though. It will need at least 8K ram expansion. This is probably already the most complex game I've ever made. I'm writing it in basic on the actual machine and plan to compile it with austro compiler.
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
User avatar
orion70
VICtalian
Posts: 4337
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Re: Backgammon

Post by orion70 »

Excellent Boray, thank you: take your time to finish and polish it :)
Required RAM is not a problem for most of us, I guess.
User avatar
joshuadenmark
Big Mover
Posts: 1217
Joined: Sat Oct 23, 2010 11:32 am
Location: Fr-Havn, Denmark
Occupation: Service engineer

Re: Backgammon

Post by joshuadenmark »

Looking forward to this, I've also got RAM enough 8) bring it on Boray.
Kind regards, Peter.
____________________________________________________
In need of a wiki logon - PM me
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Re: Backgammon

Post by Boray »

Thanks for the encouraging words! :)

Here is a first screen shot for you:
Image
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
User avatar
joshuadenmark
Big Mover
Posts: 1217
Joined: Sat Oct 23, 2010 11:32 am
Location: Fr-Havn, Denmark
Occupation: Service engineer

Re: Backgammon

Post by joshuadenmark »

Looking good so far 8)
Kind regards, Peter.
____________________________________________________
In need of a wiki logon - PM me
User avatar
Mayhem
High Bidder
Posts: 3026
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Re: Backgammon

Post by Mayhem »

Well it's certainly the best looking version on the Vic20 to date ;)
Lie with passion and be forever damned...
malcontent
Vic 20 Hobbyist
Posts: 129
Joined: Sun Dec 26, 2010 1:51 pm

Re: Backgammon

Post by malcontent »

I really like the display. The little touches like the hinges and latches, and the 3d look, are great.

I like the idea you have for the keyboard, but it got me thinking, why break up the sides, there are 12 keys along the top two rows of the keyboard.
User avatar
beamrider
Vic 20 Scientist
Posts: 1447
Joined: Sun Oct 17, 2010 2:28 pm
Location: UK

Re: Backgammon

Post by beamrider »

There is some fairly compact 'c' source code for the game here that should be able to be ported for the Vic using CC65 as well...

http://bsdgames.sourcearchive.com/docum ... 3fb60.html

https://kba49.wordpress.com/2013/01/30/backgammon/

and this is probably a better bet in...

http://www.filegate.net/cprog/

http://www.filegate.net/cprog/pcgamn6.zip

.. but would probably need 32K to run in...
User avatar
Jeff-20
Denial Founder
Posts: 5759
Joined: Wed Dec 31, 1969 6:00 pm

Re: Backgammon

Post by Jeff-20 »

Boray wrote:Here is a first screen shot for you:
I like the little details like the box hinges. :)
High Scores, Links, and Jeff's Basic Games page.
Post Reply