ChessPlusPlus

Pages: 12345
I'm working on refactoring the code right now - there is a lot of very scary coupling between classes for which there should be no coupling. There's also the frightful Application::ChangeState which imply destroyed its current state without even checking to see if it could successfully construct the new state. I'm happy to report that I'm doing my best to fix what I know is incorrect, but f course I want input in case I am making something worse.
Thumper and I want to transfer naraku9333's ChessPlusPlus repository to the cpluspluscom organization. This will properly move references for forked projects and will update remotes for those using GitHub for Windows/Mac, but those using the shell will need to update remotes manually.

The move will keep the development history, issues, wiki, PRs, and forks will point to the new location. We have an issue open here:
https://github.com/naraku9333/ChessPlusPlus/issues/35
Transfer is done.
closed account (N36fSL3A)
How do you PLAY chess anyways?
One move at a time.
its a lot like planning code in your head
closed account (N36fSL3A)
rules?
the little guys are pawns they move 1 space forward at a time and turn into a queen or any other piece when they get to the end, they take other pieces diagonaly only and can move two spaces at the start.
knights can move threespaces in any direction followed by landing on either adjacant side(think of an L three along one ^,v if moving horizontaly,< or > if moving vertiacally) they are also the only piece that can hop over pieces( if the landing space is free)
rooks are the castles they can move any length horizontaly or verticaly, bishops the diagonal equivalent, the queen, the most powerful piece on the board can do what both the rook and the bishop can!
the king can only move one space at a time in any direction, you cannot move if a piece could take the king in the next go, you have to rectify the situation so that he would not be taken, if that is impossible that is checkmate( if hes just threatended its only check)

two less known special moves are...

the kinng can switch with a rook if theres free space between the rook and the king, its sometimes called casteling, they dont quite swap places they meet in the middle and swap.

pawns can take one space infront and diagonal on the condition the piece they are threatening is just behind the halfway point, they can only do this from their start point, I forget what this is called but most chess games forget to put this official move in a lot more often than castleing.
Last edited on
Seriously, you couldn't google "chess rules", first hit http://www.chess.com/learn-how-to-play-chess
*Please Be Advised Heavy This Post Contains Sarcasm, Parental Guidance Is Advised For Viewers Younger Than Thirteen*

Seriously, you couldn't google "chess rules", first hit http://www.chess.com/learn-how-to-play-chess

No, that would require substantially more effort than just clicking a link and reading devon's spoon fed answer.
I forget what this is called but most chess games forget to put this official move in a lot more often than castleing.

Uhhh, En Passant maybe... seriously devon? You're replying to a one-word question by investing so much energy and time?

As for you Fredbill30, it's time to stop trolling, don't you think? Or at least start posting valuable content.
Can we please stop having threads derailed by fredbill and devon? I'm going to start reporting posts that derail threads.
sry -_-,

did ou remember to include those moves?
Last edited on
We're currently refactoring our design to allow for more modularity, after which we will make sure we correctly add all the moves for the correct circumstances.
Sorry for going dormant, school work and exams have pretty much taken over my life at the moment.
EDIT: And what little free time I have is not enough to be able to help.
Last edited on
It's perfectly fine, Thumper and I have stuff to do too, we just like to spend what little free time we have working on this. Do what you enjoy and what's important ;)
closed account (N36fSL3A)
Script Coder wrote:
*Please Be Advised Heavy This Post Contains Sarcasm, Parental Guidance Is Advised For Viewers Younger Than Thirteen*


That was aimed towards me.

I'm not trolling at all... I seriously want to know how to play chess to help out... The one time I act serious in a thread for days people start to say I'm detrailing a thread. WTF.
Tells you what kind of reputation you have, unfortunately. Like the boy who cried wolf. :(
closed account (N36fSL3A)
... So my rep is ruined in a few days of messing around? Wow.

I think we should get on topic then.

So how far are y'all into this? How many developers are working on this?
Last edited on by Fredbill30
Fredbill30 wrote:
So how far are y'all into this?
https://github.com/cpluspluscom/ChessPlusPlus/network
Fredbill30 wrote:
How many developers are working on this?
https://github.com/cpluspluscom?tab=members
https://github.com/cpluspluscom/ChessPlusPlus/contributors
Last edited on
Pages: 12345