Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 17:31:18 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 5 6 [7] 8 9 ... 15   Go Down
  Print  
Author Topic: Chess -  (Read 11662 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 13:23:09
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50226


Total Post Ratings: +2615

View Profile WWW
« Reply #90 on: 26 March, 2011, 09:15:17 »
0

Nice, thanks Deep Cheesy
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
ikemike
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 20 January, 2013, 03:29:22
Date Registered: 17 March, 2010, 04:19:33
Posts: 67


Total Post Ratings: +4

View Profile
« Reply #91 on: 26 March, 2011, 22:41:34 »
0

Just sayin', this is nearly already the definitive chess program.

All of the following is IMO, so you know.
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

Overall, absolutely great! My chess buddies'll love this.
Points made:
Greyscale sprites or Change bishops/pawns
Increase cursor flash-rate or make it third-tier greyscale
Make option to not show possible moves
Program in openings, or at least have it start with e4/e5/d4/d5.
« Last Edit: 27 March, 2011, 18:52:01 by ikemike » Logged

Anonymous Legend
program4
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 August, 2012, 21:58:53
Date Registered: 23 June, 2010, 03:21:16
Location: USA
Posts: 160


Total Post Ratings: +15

View Profile
« Reply #92 on: 28 March, 2011, 00:26:11 »
0

Amazing, except for some bugs and improvements:

•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) so that the AI can be a challenge to beat
« Last Edit: 28 March, 2011, 02:23:22 by program4 » Logged
thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 01:15:58
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Topic starter
Total Post Ratings: +778

View Profile
« Reply #93 on: 28 March, 2011, 02:23:53 »
+1

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... =)

I agree that the bishop and pawn sprites are too close together, especially because when you highlight them, they look the same. However, I don't know what to use instead. The problem with grayscale sprites though is that it's hard to see them. The problem is that there aren't really any colors available to make the sprites with. You can't do much work with white and light gray because they are used in the board. Which only leaves dark gray and black, which depending on contrast, can look pretty similar.

Quote
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...

Changing the cursor isn't a bad idea, the question though would be which cursor to change, the current one or the new moves one. I'll make some changes and see which one looks better. I'll also add that option to disable the new move boxes, that's really easy.

Quote
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

For now, I'll probably leave the opening moves up to the AI. My goal is to get to the point where it figures out what to do by itself.

•make an option for the cursor to not change position after the AI moves

Ok, that's quite easy to do.

Quote
•take care of threefold repetition/50-move rule (if it's not too hard)

Those are the easy stalemates, I can do those with simple counters.

Quote
•take care of stalemate

Actually, after thinking about this. If I make a special stalemate routine, as opposed to using the AI routine to check for moves, stalemate detection shouldn't take more than .01 seconds.

Quote
•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)

Again, I'm not going to do this for a while because it would be a heck of a lot easier if the AI can just figure it out.

Quote
•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)

So basically you can choose to handicap yourself? I'm not entirely sure what you mean.
Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112
program4
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 August, 2012, 21:58:53
Date Registered: 23 June, 2010, 03:21:16
Location: USA
Posts: 160


Total Post Ratings: +15

View Profile
« Reply #94 on: 28 March, 2011, 02:28:02 »
0

Yeah. Basically, you play without a queen or knight (queen odds or knight odds), or without certain combinations of pieces (like 2 rooks). This could all be in the options menu.

Also, can there be an option to undo moves? Often I make a move by mistake and I can't go back and change it.
Logged
thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 01:15:58
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Topic starter
Total Post Ratings: +778

View Profile
« Reply #95 on: 28 March, 2011, 02:30:36 »
0

That's one I've thought about for a long time. I'll probably add it, but it will definitely be disabled by default.
Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112
thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 01:15:58
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Topic starter
Total Post Ratings: +778

View Profile
« Reply #96 on: 28 March, 2011, 05:54:19 »
+3

Post Post (Double post)

I promised an update the other day, so here it is. I was going to add the whole big list up there ^^, but I figured I better get a version out considering the current one still has the dark gray background.

Changes: (I think)
-Black background
-Game stops at checkmate
-AI understands unprotected pieces
-Save As...

As with customs, a screenshot is also provided. (Screenshots make it look like progress was made Cheesy)


* chess 5.gif (48.71 KB, 192x128 - viewed 193 times.)
* chess 5.8xp (7.47 KB - downloaded 59 times.)
* chess 5.z80 (64.87 KB - downloaded 27 times.)
Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 13:23:09
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50226


Total Post Ratings: +2615

View Profile WWW
« Reply #97 on: 28 March, 2011, 21:31:52 »
0

Awesome! By the way the grayscale looked perfect on my 84+. I'm amazed we now finally have grayscale that looks as great as on 68K calcs or extremly close. Back in 2004-05, most people said this would never be possible.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
calcdude84se
Needs Motivation
Members
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 16:12:14
Date Registered: 21 April, 2010, 04:20:59
Posts: 2207


Total Post Ratings: +62

View Profile
« Reply #98 on: 28 March, 2011, 21:37:11 »
0

Hurray, updates Cheesy
Can't wait to see the AI improvements, no matter that I can still beat it Tongue
Logged

"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Bug me about PartesOS. I might just need reminding.
Compynerd255
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 29 April, 2013, 23:45:47
Date Registered: 18 December, 2010, 22:35:39
Location: Between chair and keyboard
Posts: 329


Total Post Ratings: +49

View Profile WWW
« Reply #99 on: 29 March, 2011, 01:12:38 »
0

I really wish I could test this. I only have an 83+ Black Edition.
* Compynerd255 feels poor

EDIT: Although I could probably get sweet dough by making and selling professional looking gCn hubs for people with no electronics skills.
Oh, and it would be sweet if this game was compatible with globalCALCnet. Cheesy
« Last Edit: 29 March, 2011, 01:14:49 by Compynerd255 » Logged

The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com


program4
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 August, 2012, 21:58:53
Date Registered: 23 June, 2010, 03:21:16
Location: USA
Posts: 160


Total Post Ratings: +15

View Profile
« Reply #100 on: 29 March, 2011, 02:45:31 »
0

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.  Huh?
Logged
thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 01:15:58
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Topic starter
Total Post Ratings: +778

View Profile
« Reply #101 on: 29 March, 2011, 03:30:02 »
0

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.  Huh?

Arrrrg. (Pirate) It got stuck in some endless loop inside the AI. That should not be easy to find so it might be a while before I fix it.

Edit:
   I should make a button to abort the AI.
« Last Edit: 29 March, 2011, 03:30:34 by thepenguin77 » Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112
SirCmpwn
Guest
« Reply #102 on: 29 March, 2011, 05:57:36 »
0

I was beaten by it for the first time today, but mostly out of stupidity <_<
Logged
thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 01:15:58
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Topic starter
Total Post Ratings: +778

View Profile
« Reply #103 on: 29 March, 2011, 06:43:08 »
+2

I was beaten by it for the first time today, but mostly out of stupidity <_<

Sir, you have completed a milestone. This is the first time anyone has actually been checkmated by it, which is a good thing for me Wink


Also, as for updates.
- new move squares are white and dark gray
- option to not move cursor to last AI move
- option to not show possible moves

Currently I'm working on really quick stalemate and checkmate detection. You might notice that the current version takes quite a bit of time to see if you are in checkmate.
Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112
c.sprinkle
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: 09 May, 2013, 02:16:25
Date Registered: 10 December, 2010, 18:29:40
Location: -7 Inika Square, Teniana, Star Island
Posts: 225


Total Post Ratings: +22

View Profile WWW
« Reply #104 on: 29 March, 2011, 16:44:19 »
0

This is excellent! Cheesy
I love the whole thing. This is the first AI chess game of its kind, for sure. Good luck on the updates; I can't wait for progress.
Logged

Pages: 1 ... 5 6 [7] 8 9 ... 15   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.287 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.