Looks really nice! :D
Are you also gonna add difficulty?
Awesome!
Will you be adding pawn promotion sometime soon? If so, then I'm definitely gonna give this to my friends, cuz they all play chess.
This is just impressive! I love playing chess, and sometimes I like an opponent to play against.It works for me. (press Clear to de-select)
One bug I noticed though (I think): if you choose a piece (say the rook on A1 in the beginning), but that piece cannot move anywhere, I cannot deselect the rook and choose another piece.
Also, where's the calc serial number stored?
You should still definetely put either link play or 2-player, though. It's more fun when you get to swear at your opponent and he has to listen.
One bug I noticed: Queenside castling is broken... it moved the wrong rook (from the h-file to the f-file, instead of a- to d-), and overwrote my bishop :(
This looks like a lot of fun, you should see if you can at some point transfer it to the Nspire. PleaseI'm sure it will work on the 84+ emulator included with the regular Nspire. :)
yes, but a link cable is necessary other than the one that comes with the tinspire itself. If I could get one of those that would then work greatThis looks like a lot of fun, you should see if you can at some point transfer it to the Nspire. PleaseI'm sure it will work on the 84+ emulator included with the regular Nspire. :)
It runs (and you can exit it if you know the right keys to press) but you can't see anything but a white screen. I think TI's emulator doesn't support IM 2 interrupts.This looks like a lot of fun, you should see if you can at some point transfer it to the Nspire. PleaseI'm sure it will work on the 84+ emulator included with the regular Nspire. :)
Didn't the regular link cable come with the TI-Nspire too? I got one when I bought my calc.yes, but a link cable is necessary other than the one that comes with the tinspire itself. If I could get one of those that would then work greatThis looks like a lot of fun, you should see if you can at some point transfer it to the Nspire. PleaseI'm sure it will work on the 84+ emulator included with the regular Nspire. :)
This looks pretty sweet thepenguin77. I'll give it a look when I have some time. I'm also seconding the two player via link suggestion. ;)
You should use Calcnet routines. Also, please make the switching optional, because I hate chess games that do that. It just bugs me. ;-)This looks pretty sweet thepenguin77. I'll give it a look when I have some time. I'm also seconding the two player via link suggestion. ;)
I probably won't do link play because I don't see it being that necessary. It's very hard to do, especially because I would need to do USB linking. And in reality, it's not even that necessary, you could just hand your friend your calculator, especially if they are sitting close enough to use a link cable :D
I fixed the Queen side castling and I added in pawn promotion. The game also flips the board around when the black player is moving. This makes it slightly annoying to play against yourself, but it is disableable via an internal flag, which will be in the options menu.
You should use Calcnet routines. Also, please make the switching optional, because I hate chess games that do that. It just bugs me. ;-)
True enough I suppose, but I'm curious. Why would using USB be necessary? Couldn't you just use the link port? There was another thing that I just thought of as well. I know many of your previous games used undocumented instructions and didn't run on the normal TI-83+. Is this one compatible with the normal TI-83+?This looks pretty sweet thepenguin77. I'll give it a look when I have some time. I'm also seconding the two player via link suggestion. ;)
I probably won't do link play because I don't see it being that necessary. It's very hard to do, especially because I would need to do USB linking. And in reality, it's not even that necessary, you could just hand your friend your calculator, especially if they are sitting close enough to use a link cable :D
I know many of your previous games used undocumented instructions and didn't run on the normal TI-83+. Is this one compatible with the normal TI-83+?
I finally got this on my calc, and here are my thoughts:
-The grayscale is flawless. This is the most impressive to me. Other games that claim to have flickerless grayscale should be ashamed. The grayscale in this is freaking amazing. It makes it look like the screen is built for grayscale.
-The AI is good, but it would be nice if I lost occasionally.
-The AI is stubborn as hell. I've had three queens on the board against his king, and it has squirmed all over the board before I managed to capture him.
-Pass-the-calculator works fine, but link play would be nice.
Overall, I'm extremely impressed.
Is it just me, or does it seem the opponent's king moves more than one space at a time sometimes?
stupid AI noob!!! it keeps cheating! Castling does NOT work that way!!! I found a way to beat it anyways. I put it in checkmate and had my queen on same horizontal line so even if it "castled" it wouldn't be safe. when i took out all of my opponents pieces including the king, the game didn't end.
I know he fixed the fake castling, but what happens when you win? I beat him and took every single piece but nothing happened...
Hey, for some reason the cursor was messing up pretty badly. It was some random garbled thing.
OS 2.53 MP. (for integral function, and that's it)
That thing is auto-fix, it fixed itself in my case.stupid AI noob!!! it keeps cheating! Castling does NOT work that way!!! I found a way to beat it anyways. I put it in checkmate and had my queen on same horizontal line so even if it "castled" it wouldn't be safe. when i took out all of my opponents pieces including the king, the game didn't end.
I know he fixed the fake castling, but what happens when you win? I beat him and took every single piece but nothing happened...
I know, I did that on purpose. I figured that for now, it would be better if you could continue playing on the off chance that the game glitches and pulls a false checkmate. Plus, as soon as you get checkmate, you can just quit.Hey, for some reason the cursor was messing up pretty badly. It was some random garbled thing.
OS 2.53 MP. (for integral function, and that's it)
This happens on my friends calculator also. He has 2.43. He said that a lot of other stuff was going horribly wrong too aside from the cursor. Tomorrow, I'm going to completely clear the calculator and see if that fixes it. If not, it must be related to hardware somehow. (Running the program from the homescreen didn't fix it either, so it's not specifically Mirage's fault. And it only uses 1 bcall the entire time, so it shouldn't be OS related either.)
Even weirder, the cursor graphic is not the very last thing in the program. All of the text comes after it. And the displaying routine isn't anything out of the ordinary.
This looks pretty sweet thepenguin77. I'll give it a look when I have some time. I'm also seconding the two player via link suggestion. ;)
I probably won't do link play because I don't see it being that necessary. It's very hard to do, especially because I would need to do USB linking. And in reality, it's not even that necessary, you could just hand your friend your calculator, especially if they are sitting close enough to use a link cable :D
stupid AI noob!!! it keeps cheating! Castling does NOT work that way!!! I found a way to beat it anyways. I put it in checkmate and had my queen on same horizontal line so even if it "castled" it wouldn't be safe. when i took out all of my opponents pieces including the king, the game didn't end.Just so you know you should probably read the board rules at http://www.omnimaga.org/index.php?action=ezportal;sa=page;p=2 because name calling or being rude to someone else when giving feedback is against the rules. I rated down your post. Programming a chess game can be hard, so give Thepenguin77 some time to fix it. It already looks pretty good so far. Otherwise, welcome on the forums.
I know he fixed the fake castling, but what happens when you win? I beat him and took every single piece but nothing happened...
I run it in DCS. Also, the DCS icon is blank. Plus, there should be an option to reset grayscale settings, as I want to change them. Just corrupt a byte in the serial id, and restart the program should work.
It seems that whenever the AI gets checked, it always considers moving the king first before anything else, which is bad. I've checkmated it using just pawns that could have been taken by other pieces.
stupid AI noob!!! it keeps cheating! Castling does NOT work that way!!! I found a way to beat it anyways. I put it in checkmate and had my queen on same horizontal line so even if it "castled" it wouldn't be safe.
Nice. You should write it with 8810 bytes of code. Also, did you fix the icon thing? It seems like it, but I don't have a real calc to test it with atm. Also, could you make it so that the cursor returns to your last moved piece?
Wow, I just sent this to my real calculator and the title screen looks like complete crap. It brings out all of the flaws in your LCD. So I will definitely be fixing that.ALCDFIX?
I just tried this on my 83+SE and this is the best grayscale I ever seen on this calc. O.O
However, I noticed two problems:
-We cannot cancel a move. If you select a piece, it's over, you can't cancel to select another instead, you're forced to choose a new location where to move it, and if it happens to be blocked, then you're stuck there.
-Quick save brings a blank screen and I have to pull a battery.
It happens once in a blue moon, but it's possible.I used to have it happen to just about every other file.
6 pages late: WHOA THAT IS AMAZING. It has AI? O.O
How is the AI? I'm not good at chess at all, so I can't tell.
The AI works. Perfectly. Never seen an 83+ series chess program with AI before :D
However, as penguin77 himself has stated and the rest of us have agreed, it is rather awful :P
Sadly, it can't get much better without becoming horribly slow, and it's already somewhat slow as it is :/
Regardless, it is a great achievement and we'll keep looking for ways to improve the program :)
For me, personally, I always beat it, and I don't even consider myself that good of a player :P
I agree. That reminds me... I should really post a news about this at one point, although maybe another staff did before.
Sprites could be changed... If greyscale sprites are possible, they'd be great, but if you can't do that, at least change bishops and pawns. They're only two pixels apart, and it can get frustrating sometimes to tell the difference... =)
Also, I personally think the selection cursor should be third-tier greyscale, or flash faster. I've made some mistakes because I can't tell the difference between the selection cursor and the possible-moves boxes. Also, I think an option to not show possible moves should be available as well, since it's just a distraction to some...
The AI also tends to make really bad opening moves. I would recommend programming in a couple simple openings. If nothing else, have it start with king pawn or queen pawn most of the time... The game gets pretty bad when the AI starts by putting a knight on the rim. =D
•make an option for the cursor to not change position after the AI moves
•take care of threefold repetition/50-move rule (if it's not too hard)
•take care of stalemate
•provide the AI with an opening book and endgame database, and make it so that it tries to checkmate, since even when I try to lose, the AI checks me perpetually or stalemates me (even when there is an obvious mate in one)
•odds (show a chess board; the user can click a square to toggle whether he/she starts with that piece in the beginning or not)
I played against the AI, and after 10 or so moves, after I leave the calculator for about 2 minutes without pushing a button, I try moving the cursor, but the arrow keys stop working (the cursor stops flashing also). I know the program didn't freeze, since the grayscale was still working (not black and white lines). I was forced to pull a battery. I have OS 2.43, but I don't know why this occurs. ???
I was beaten by it for the first time today, but mostly out of stupidity <_<
2. There is no difference between amateur and beginner except that one of them has a purposely inserted pause between each move.
I don't know if your AI already does this, but I think you should specifically program the AI to prioritize controlling the center, especially early in the game. Right now the AI does strange moves half the time. It only really shines when more pieces come into play, limiting its options. I think making the AI prioritize controlling the center could really give the AI a significant boost in competency, especially when it's playing white. The AI isn't good at playing white because it doesn't really give much thought to the center, allowing you to take control of the game easily.
Of course, whether this would cause significantly more slowdown than there is already, I don't know... Maybe it could be an "hardcore" mode?
There was another chess game with an ai... and programmable difficulty. I'm not criticising you, I'm saying this because it was open source and you could look at the code. I could find it if you want
Bullet chess
Chess960
Swappable chess piece "sets"
I agree with that, I was playing today and I realized that the main reason that it fails so bad is that it has a poor opening. The hard part is telling the AI how to move towards the center because moving towards the center should never put the piece itself in danger, and this is a possibility if I give center moves a value. Also, whatever system is in place should probably only last about 10 moves, because especially in a 3 piece checkmate situation, it is pointless.
One thing I'm going to do to fix this is make the AI consider more move choices, right now it only looks at the last best 4, which is why black always moves the rightmost two pawns. I might also give the move a bonus if it moves a piece away from a wall, but it would have to be small so that it wouldn't put the piece in danger.
--
Bullet chess at the moment is not possible because to be fast, the AI would suck really bad.
Chess960 is a maybe, if I could work out the castling situation it would be pretty easy though.
Swappable piece sets will definitely be done. I'll probably also have just a plain letter set too for maximum readability.
I still think a basic opening database would be extraordinarily helpful. I don't imagine (I don't know, though) it would enlarge the file much, and therefore it would act more human in that respect. Also, what do you mean by "only looks at the last best 4"?
Also, in bullet chess, thinking is not necessarily significant for much of it. But the AI would have to be highly specialized to counter easy mates for it to be decent, which may make it either significantly enlarge the program or be a separate file, and is probably a lot of work... Yeah, it's probably not worth it. =)
Another quick thing— I've done some (in-class) testing, and once or twice it hasn't recognized it could checkmate me. Is checkmate priority at max?
With the version you have, checkmate is not even considered. But on my newest version, if one of the moves is checkmate, it gets a rating of like 4000. Speaking of which: I lost to the AI today. I both failed and succeeded at the same time. I made an AI that could beat me, and I lost to a calculator AI. Oh well, it just keeps getting better.
Might as well post the most recent as I haven't worked on it in a while.Neat! Now it's actually a threat (sorta)!
Updates look like:
- Fixed a glitch with best move selection (if there were two great moves instead of one, it might not pick neither)
- If one of the AI moves is checkmate, it will take it
- AI is faster
It is pretty amazing, the only thing I did to make this faster was replace all the ldir's with a big ldi \ ldi \ ldi loop and I made a 25% speed increase. Who would have thought? But this version will beat you if you're lazy, so watch out.
Personally, I think it'd be awesome if you defaulted the first move to e4/d4. As the program is right now, I still can't show it to my chess buddies without them mocking it for it's opening. As a temporary solution, I don't imagine programming this in would be particularly difficult (what do I know, though), and it would make the AI "presentable" for the duration where center-priority AI is still not there. I know how hard it can be to motivate yourself to program (I've got a whole bucketload of assets for a "Every Day the Same Dream" port, but I have no motivation to make it), but if you could set a date to have center-prioritizing AI done, I think all of us would really like it...
It is pretty amazing, the only thing I did to make this faster was replace all the ldir's with a big ldi \ ldi \ ldi loop and I made a 25% speed increase. Who would have thought? But this version will beat you if you're lazy, so watch out.
And the opening move database is definitely not happening. It is useless code with too many conditionals. What if the opponent responds in an unusual way? You have to make a new set, but what if they do another unusual move... This ends up with >1000 lines of code that will soon become obsolete.
I'M glad to see updates to this. Hopefully you can get remaining bugs fixed soon. Are you gonna upload it in the downloads section and ticalc.org afterward?
EDIT: @DJ: YourIT'S OVER 900.0!!!!!!!!!!!! ;Drespectrating is almost 1000 O.O
But seriously, yeah, this should get featured, not that you're new to being featured. ;)
Stop making epic programs. Give someone else a chance >:(
Or do you mean it would automatically sync itself with the LCD?Unfortunately, that's not possible as there is no way through software to determine the refresh rate.
There's nothing wrong with the grayscale. I'm just going to add an option to fine tune it even farther. It's not enabled by default so those who want to spend time getting it just perfect can do it if they want.
This is funny how this game grayscale looks much better than some 68K games :PThe game itself looks amazing. The graphics are practically perfect.
This is funny how this game grayscale looks much better than some 68K games :PThe game itself looks amazing. The graphics are practically perfect.
has there been any progress on this, such as fixing the checkmate bug?
I don't think it will work on the Nspire's 84+SE since it doesn't emulate the crystal timers. Thepenguin77 might also be using some of the undocumented instructions, but he's definitely using the timers.
The menu system is graphically lacking at the moment. So I'm hoping to find or make some cool looking 4-level gray chess pieces to put on the left and right side.
Also, I don't know if someone alrdy mentioned it but, add multiplayer thingy. :DLulzwut ? Multiplayer is already available since the first version.
Yeah in earlier posts penguin said it was already completed and was working on AIAlso, I don't know if someone alrdy mentioned it but, add multiplayer thingy. :DLulzwut ? Multiplayer is already available since the first version.
(In fact, I guess it is a lot easier to code than AI :P)
I meant like connecting two of the same calcs and playing each other :P
I meant like connecting two of the same calcs and playing each other :P
I've thought about that, the trouble is that linking is super hard. It's unreliable and a pain to test. So, you'll just have to give your calculator to your friend who is still probably sitting less than 1 foot from you.
I meant like connecting two of the same calcs and playing each other :P
I've thought about that, the trouble is that linking is super hard. It's unreliable and a pain to test. So, you'll just have to give your calculator to your friend who is still probably sitting less than 1 foot from you.
thepenguin, why not provide support for 1v1 over gCn and Calcnet?
I meant like connecting two of the same calcs and playing each other :P
I've thought about that, the trouble is that linking is super hard. It's unreliable and a pain to test. So, you'll just have to give your calculator to your friend who is still probably sitting less than 1 foot from you.
thepenguin, why not provide support for 1v1 over gCn and Calcnet?
I don't want any dependencies. If I do something, I like to do it myself.
Oh ok ;)I meant like connecting two of the same calcs and playing each other :P
I've thought about that, the trouble is that linking is super hard. It's unreliable and a pain to test. So, you'll just have to give your calculator to your friend who is still probably sitting less than 1 foot from you.
I meant like connecting two of the same calcs and playing each other :P
I've thought about that, the trouble is that linking is super hard. It's unreliable and a pain to test. So, you'll just have to give your calculator to your friend who is still probably sitting less than 1 foot from you.
thepenguin, why not provide support for 1v1 over gCn and Calcnet?
I don't want any dependencies. If I do something, I like to do it myself.
well, I can understand that...I'm that way too. But let me clarify...I meant the ability to go onto a virtual hub and find a player on the network, who may be in another country and play against him. Not to use gCn for 1v1 over link...
I wonder if I can beat thepenguin77 at chess?I doubt it :P From what I hear, he's pretty good.
I wonder if I can beat thepenguin77 at chess?
I have a suggestion: Make an option to have the AI "delay" a random amount each move so it can time out. The delay could be random, or it could depend on the rating of the move, delaying longer for a better move.
I have a suggestion: Make an option to have the AI "delay" a random amount each move so it can time out. The delay could be random, or it could depend on the rating of the move, delaying longer for a better move.
Well, I would do that, except I have a feeling it would make people really angry, especially since they know they are actually waiting for nothing.
I never got 100% clear what featured means.When a program is featured on ticalc.org it gets a special color icon(green) and mostly gets a news article on the front page.
EDIT: geez, found the ai vs ai easter egg ^.^
So I got chess off of ticalc it was version 1.1. I have an 83+BE, but my friend wanted it. So I tried to run it on my calculator, just for the heck of it, using mirage. It told me a BE wouldn't cut it and then exited out of the program and then mirage wouldn't load program names. Trying to run chess again while in this state causes a ram clear. And trying to exit mirage causes the calc to start displaying the ti os memory screen at 0 ram over the program less mirage image and then freezes there. I had to pull a battery.
thepenguin, a great job. However, one issue of convenience.
I lose the game (or win). I then get the cursor, but am unable to move. The game should automatically quit and return you to the main menu. At current, you need to exit manually, then it asks you if you are sure you want to exit a game that is already over.
I lose the game (or win).
This looks amazing right now. I can't stop playing this :P
How about including an option to undo a move? Sometimes, I would like to replay a situation and see what happens if I had played a different move.