Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: leafy on December 19, 2012, 01:56:17 pm
-
Hey guys,
So I wanted to finally learn how to use interrupts, so I made a Reversi program for kicks. Some of you might know this game as Othello, but whatever. So this is pretty different from most other reversi programs for calc out there, because it's going to have a built-in AI that I'm trying to make as strong as possible (my goal is to beat builder's dad, who's apparently a reversi champ!)
So far for the AI, I'm utilizing a combination of minimax and strong evaluation (for corners/edges), but I'm still ironing that out so it doesn't destroy the VAT like it does now :P Here's a screenshot of a very early version, at any rate.
(http://i.imgur.com/4KaYn.gif)
-
Nice! But what does this have to do with interrupts?
-
The thing is, some functions in this game take an extremely long time to calculate out (especially the AI!) The only way I could stick with using greyscale then is if I used interrupts, so it'll still look nice while it's doing all the calculations in the background.
-
Anyways... back on to the topic of reversi...
Is the AI working(at all) and if so, can we see it play against itself XD
*edit
I guess if not the easiest way to chees out of ai is to have it select the first valid move it finds :crazy:
-
Wow, that greyscale is looking epic!
And good luck on the AI! :D
-
That's pretty O.O
I gotta learn how to play this game :P
-
they are actually pretty simple
http://en.wikipedia.org/wiki/Reversi#Rules
-
???
Didn't I make post on this board yesterday ? Like saying that the organization was a lot like thepenguin's Chess and all ?
Where did they go ? ???
-
Sorry, I removed them because I felt they were derailing the topic :P I thought I only removed the ones discussing interrupts, but if I deleted yours too I'm sorry D: I should probably avoid doing that in the future, though.
-
Wut? I thought that this thread was for discussing reversi with you... and also helping you and giving suggestions... and that you are doing this mostly for interrupt practice?
-
Wut? I thought that this thread was for discussing reversi with you... and also helping you and giving suggestions... and that you are doing this mostly for interrupt practice?
Well, if you want to discuss interrupts, please do it in an axe thread rather than derailing this topic :P By all means, reversi suggestions are fine, but limit the side discussions if possible.
-
Ok, fine... but still... Can I has AI play against itself? XD
-
Ok, fine... but still... Can I has AI play against itself? XD
Yes, the AI will eventually be able to play with itself. This is how I'm generating the evaluation table anyways.
-
Yes, the AI will eventually be able to play with itself.
:w00t:
-
Yes, the AI will eventually be able to play with itself.
(http://diablo.incgamers.com/wp-content/uploads/2012/09/Genius.jpg)
No really, I'm waiting to see the calc trying to own itself! :p