Backgammon
Moderator: Moderators
Re: Backgammon
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.
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.)
Re: Backgammon
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.
"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.
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
- orion70
- VICtalian
- Posts: 4341
- Joined: Thu Feb 02, 2006 4:45 am
- Location: Piacenza, Italy
- Occupation: Biologist
Re: Backgammon
Thank you Boray! Will learn ASAP
Re: Backgammon
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.)
- orion70
- VICtalian
- Posts: 4341
- Joined: Thu Feb 02, 2006 4:45 am
- Location: Piacenza, Italy
- Occupation: Biologist
Re: Backgammon
Or maybe use an existing program as a backbone, and work on the AI?
Re: Backgammon
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!
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Re: Backgammon
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.)
- orion70
- VICtalian
- Posts: 4341
- Joined: Thu Feb 02, 2006 4:45 am
- Location: Piacenza, Italy
- Occupation: Biologist
Re: Backgammon
Excellent Boray, thank you: take your time to finish and polish it
Required RAM is not a problem for most of us, I guess.
Required RAM is not a problem for most of us, I guess.
- joshuadenmark
- Big Mover
- Posts: 1218
- Joined: Sat Oct 23, 2010 11:32 am
- Location: Fr-Havn, Denmark
- Occupation: Service engineer
Re: Backgammon
Looking forward to this, I've also got RAM enough bring it on Boray.
Kind regards, Peter.
____________________________________________________
In need of a wiki logon - PM me
____________________________________________________
In need of a wiki logon - PM me
Re: Backgammon
Thanks for the encouraging words!
Here is a first screen shot for you:
Here is a first screen shot for you:
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
- joshuadenmark
- Big Mover
- Posts: 1218
- Joined: Sat Oct 23, 2010 11:32 am
- Location: Fr-Havn, Denmark
- Occupation: Service engineer
Re: Backgammon
Looking good so far
Kind regards, Peter.
____________________________________________________
In need of a wiki logon - PM me
____________________________________________________
In need of a wiki logon - PM me
- Mayhem
- High Bidder
- Posts: 3027
- Joined: Mon May 24, 2004 7:03 am
- Website: http://www.mayhem64.co.uk
- Location: London
Re: Backgammon
Well it's certainly the best looking version on the Vic20 to date
Lie with passion and be forever damned...
-
- Vic 20 Hobbyist
- Posts: 129
- Joined: Sun Dec 26, 2010 1:51 pm
Re: Backgammon
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.
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
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...
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
I like the little details like the box hinges.Boray wrote:Here is a first screen shot for you: