Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51276
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-07-25 20:16 -0700 |
| Message-ID | <a68a52f8-a9f2-438c-a728-402dadf822f6@googlegroups.com> (permalink) |
| Subject | How would I do this? |
| From | John Doe <h4ck3rpr0n3@gmail.com> |
Hey guys, I;m working on making a chess program and I hit a wall. I have no idea how to get the position of the chess pieces. I have the chess board 1-8 and A-H for black as well as 1-8 and a-h for white. i just have to figure out how to declare those positions for the actual pieces so like the row of pawns for black would be B1-B8 as well as be able to replace the other coordinates with the piece when they move there like if I moved a black pawn from B1 to C1 B1 would be empty and then C1 would have it. I'm sorry if that's confusing but I can't seem to figure out how to do it... Any help is greatly appreciated and thank you in advance!
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
How would I do this? John Doe <h4ck3rpr0n3@gmail.com> - 2013-07-25 20:16 -0700
Re: How would I do this? Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-25 21:31 -0600
Re: How would I do this? h4ck3rpr0n3@gmail.com - 2013-07-25 20:40 -0700
Re: How would I do this? Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-25 22:02 -0600
csiph-web