ramidavis Posted December 8, 2017 Share Posted December 8, 2017 (edited) ... Edited January 2, 2018 by ramidavis 2 Link to comment Share on other sites More sharing options...
ramidavis Posted December 9, 2017 Author Share Posted December 9, 2017 (edited) ... Edited January 2, 2018 by ramidavis Link to comment Share on other sites More sharing options...
ramidavis Posted December 9, 2017 Author Share Posted December 9, 2017 (edited) ... Edited January 2, 2018 by ramidavis 3 Link to comment Share on other sites More sharing options...
+Vorticon Posted December 9, 2017 Share Posted December 9, 2017 Used to play it a lot with my brother when we were kids then a couple of years ago I bought a version on Amazon just for nostalgia's sake Full game for the TI 99/4A by myself based on the graphics of ramidavis in post #56 Full game for Windows PC by SIO2 in post #46 Full game for the Sharp EL-5500II handheld computer in post #24 And for the record, a thread which has been abandoned cannot be hijacked, merely picked up and dusted off Link to comment Share on other sites More sharing options...
ramidavis Posted December 9, 2017 Author Share Posted December 9, 2017 (edited) ... Edited January 2, 2018 by ramidavis Link to comment Share on other sites More sharing options...
ramidavis Posted December 10, 2017 Author Share Posted December 10, 2017 (edited) ... Edited January 2, 2018 by ramidavis 1 Link to comment Share on other sites More sharing options...
SIO2 Posted December 10, 2017 Share Posted December 10, 2017 (edited) I had never heard of this game before. It looks interesting. The board strikes me as being remarkably similar to the ancient Egyptian game of Senet. Perhaps you have seen this: It is a fun watch. The video suggests that there was an alternate set of rules that involved gambling. Since the die look like little pyramids and the Egyptians may have had a similar game... perhaps the explanation everyone has been looking for regarding what purpose the pyramids served is that they were casinos? Good luck on your project. I hope someone posts a video of your game when it is done. Edited December 10, 2017 by SIO2 1 Link to comment Share on other sites More sharing options...
ramidavis Posted December 10, 2017 Author Share Posted December 10, 2017 (edited) ... Edited January 2, 2018 by ramidavis Link to comment Share on other sites More sharing options...
sometimes99er Posted December 10, 2017 Share Posted December 10, 2017 (edited) Very nice video indeed. And a lot like Ludo. Edited December 11, 2017 by sometimes99er Link to comment Share on other sites More sharing options...
ramidavis Posted December 10, 2017 Author Share Posted December 10, 2017 (edited) ... Edited January 2, 2018 by ramidavis Link to comment Share on other sites More sharing options...
+Ksarul Posted December 10, 2017 Share Posted December 10, 2017 There are also apparently two versions of the rules--one with three dice and the other with four. . . Link to comment Share on other sites More sharing options...
+Vorticon Posted December 10, 2017 Share Posted December 10, 2017 Here's a simple AI algorithm that should be pretty effective: Throw dice Can a piece move off the board (needs exact dice number)? If YES, then make move and take piece out of play. Go to 10 Can a piece on the board land on an enemy piece not on a rosette square? if YES, then make move and take out enemy piece. Go to 9 Can a piece on the board or a new piece land on a rosette square free of enemy pieces? If YES, then make move with preference to the piece that can go to the center rosette square. Go to 1 Are there >2 pieces on the board that can move? If YES, then move the furthest one. Go to 9 Are there any unplayed pieces left? If YES then go to 8 Is there a piece on the board that can move? If NO then go to 9 Introduce a new piece into the game. END computer turn. Are all the computer pieces off the board? if YES, then computer wins. STOP Go to 9 You could switch out 3 and 4 if you prefer. Link to comment Share on other sites More sharing options...
ramidavis Posted December 10, 2017 Author Share Posted December 10, 2017 (edited) ... Edited January 2, 2018 by ramidavis Link to comment Share on other sites More sharing options...
+Vorticon Posted December 11, 2017 Share Posted December 11, 2017 I am more than happy to help you develop this game. The best way to tackle this would be to break it down into small self-contained steps, generally in the form of subroutines. I am very much a fan of the XB SUB facility, which is very powerful, so make sure you are familiar with it. For example, you will need a routine to keep track of the location of your pieces and update it as needed. Another routine would be to check if any of your pieces can move, etc... Since a SUB can call other Subs, you can really break down processes very finely and simply call them as needed. SUB allows for parameter passing while being entirely independent from the rest of the program, unlike the standard GOSUB process. As an example, the movement SUB would first call the dice rolling SUB which would return a number, then the move check SUB would get called to make sure that any of the pieces on the board can move, and so on and so forth... As you develop the game, you'll be creating new Subs as needed. It's not necessarily an easy process, but it's definitely very doable if you take your time. How about you start by creating the dice rolling SUB? 1 Link to comment Share on other sites More sharing options...
+TheBF Posted December 11, 2017 Share Posted December 11, 2017 ...The best way to tackle this would be to break it down into small self-contained steps, generally in the form of subroutines. ...which is very powerful... And so Forth :-) I couldn't resist. I must confess after watching the video I am intrigued. 2 Link to comment Share on other sites More sharing options...
ramidavis Posted December 11, 2017 Author Share Posted December 11, 2017 (edited) ... Edited January 2, 2018 by ramidavis Link to comment Share on other sites More sharing options...
+Vorticon Posted December 11, 2017 Share Posted December 11, 2017 And so Forth :-) Yup Forth would be an ideal language for this game I'm tempted, but I just can't add yet another project to my list! You do it Link to comment Share on other sites More sharing options...
+TheBF Posted December 12, 2017 Share Posted December 12, 2017 Yup Forth would be an ideal language for this game I'm tempted, but I just can't add yet another project to my list! You do it I started... but this month will be trouble. The AI component has me interested, but I will get the basics setup first. No pun intended. Link to comment Share on other sites More sharing options...
SIO2 Posted December 16, 2017 Share Posted December 16, 2017 (edited) http://www.novelgames.com/en/ur/ Be patient. It has to load then go through an ad first. Edited December 16, 2017 by SIO2 Link to comment Share on other sites More sharing options...
+TheBF Posted December 16, 2017 Share Posted December 16, 2017 http://www.novelgames.com/en/ur/ Be patient. It has to load then go through an ad first. Hey thanks. That gave me some real world experience. The ROBOT player on the site knows the game and beat me handily. 1 Link to comment Share on other sites More sharing options...
+Vorticon Posted December 18, 2017 Share Posted December 18, 2017 Played the robot. Obviously it's heavily dependent on luck, but there is definitely some strategy to be had here. Taking that center rosette square gives the owner a big advantage. I have amended my AI algorithm accordingly to improve its quality. Throw dice Can a piece move off the board (needs exact dice number)? If YES, then make move and take piece out of play. Go to 11 Can a piece on the board land on an enemy piece not on a rosette square? if YES, then make move and take out enemy piece. Go to 10 Can a piece on the board or a new piece land on a rosette square free of enemy pieces? If YES, then make move with preference to the piece that can go to the center rosette square. Go to 1 Are there >2 pieces on the board that can move? If YES, then move the furthest one unless it's on the center rosette. Go to 10 Are there any unplayed pieces left? If YES then go to 9 Is there a piece on the board that can move? If NO then go to 10 Move the furthest piece. Go to 10 Introduce a new piece into the game. END computer turn. Are all the computer pieces off the board? if YES, then computer wins. STOP Go to 10 2 Link to comment Share on other sites More sharing options...
+Vorticon Posted December 18, 2017 Share Posted December 18, 2017 I tested the above algorithm in a real game against myself, and I threw the dice for the "computer" and followed the algorithm while I played my own game. The AI won! Again, dice rolls play an important role, but I believe the AI strategy is pretty sound here Once again simple rules can generate apparent complexity in thinking... 1 Link to comment Share on other sites More sharing options...
+TheBF Posted December 18, 2017 Share Posted December 18, 2017 I tested the above algorithm in a real game against myself, and I threw the dice for the "computer" and followed the algorithm while I played my own game. The AI won! Again, dice rolls play an important role, but I believe the AI strategy is pretty sound here Once again simple rules can generate apparent complexity in thinking... Interesting. And yes the simple rules observation is supported by most human activity in the world. 1 Link to comment Share on other sites More sharing options...
+Vorticon Posted December 22, 2017 Share Posted December 22, 2017 So I just had to write a little program to test my AI algorithm fully However, I did it using a Sharp EL-5500II handheld scientific computer and a few sheets of paper while waiting for my car to be serviced. That computer is from the early 80's and is great for minor computing on the go. Here's a video of a game I played against it: https://youtu.be/S79hGlVofXQ While I did end up winning, it really was not by much and if the computer had slightly better dice rolls it could have easily bested me. In the video at around 26:00, I take a piece from the wrong stack, and although it has no bearing on the outcome, the final result is 6 for the computer, not 5 as shown, and 7 for me, off by just one! The BASIC code is super generic and will work on virtually any vintage computer with BASIC save the random generation function which syntax can vary. It would be eminently portable to the CC40 for example. The debugging using a 24 character single line screen was masochistic at best, but also very nostalgic. Go figure... Unfortunately, I don't have a neatly formatted listing to give you since all I have is 4 sheets of dense and heavily redacted paper, but I can post pictures of them if any brave soul wants them Now I can finally take this game out of my mind 2 Link to comment Share on other sites More sharing options...
SIO2 Posted December 23, 2017 Share Posted December 23, 2017 ... but I can post pictures of them if any brave soul wants them I want them. Let's see that code. 2 Link to comment Share on other sites More sharing options...
Recommended Posts