Page 2 of 3
Re: Backgammon
Posted: Sun May 03, 2015 1:26 am
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.
Re: Backgammon
Posted: Sun May 03, 2015 4:13 am
by Boray
Now, I've tried them.
"Compute"
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"
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.
Re: Backgammon
Posted: Sun May 03, 2015 6:12 am
by orion70
Thank you Boray! Will learn ASAP
Re: Backgammon
Posted: Sun May 03, 2015 1:53 pm
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.
Re: Backgammon
Posted: Mon May 04, 2015 3:51 am
by orion70
Or maybe use an existing program as a backbone, and work on the AI?
Re: Backgammon
Posted: Thu May 07, 2015 4:25 am
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!
Re: Backgammon
Posted: Mon May 18, 2015 4:17 am
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.
Re: Backgammon
Posted: Mon May 18, 2015 9:27 am
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.
Re: Backgammon
Posted: Mon May 18, 2015 10:01 am
by joshuadenmark
Looking forward to this, I've also got RAM enough
bring it on Boray.
Re: Backgammon
Posted: Tue May 19, 2015 10:52 am
by Boray
Thanks for the encouraging words!
Here is a first screen shot for you:
Re: Backgammon
Posted: Tue May 19, 2015 12:45 pm
by joshuadenmark
Looking good so far
Re: Backgammon
Posted: Tue May 19, 2015 1:18 pm
by Mayhem
Well it's certainly the best looking version on the Vic20 to date
Re: Backgammon
Posted: Thu May 21, 2015 10:53 am
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.
Re: Backgammon
Posted: Thu May 21, 2015 11:21 am
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...
Re: Backgammon
Posted: Fri May 22, 2015 12:19 pm
by Jeff-20
Boray wrote:Here is a first screen shot for you:
I like the little details like the box hinges.