2009-01-02, 08:57 AM
Thought I would have a play at writing a plugin - this is the first effort.
Basically, its a two player chess game.
Features:
It should only allow valid moves (won't allow en-passant or anything complex)
Will detect check or moves into check.
Non-Featured:
No single player
Doesn't detect checkmate/stalemate.
No skinning support - hard coded to the screen. Might fix this one day when I learn more.
Unfortunately, I had problems with trying to get the pathname within the plugin so it is hard coded to 'c:\program files\devnz\gbpvr\plugins\GBChess'.
Im sure there are bugs in there - If its anything not already noted feel free to comment but be aware this was more of a test than a proper plugin so I don't plan to spend a lot of time on it.
Basically, its a two player chess game.
Features:
It should only allow valid moves (won't allow en-passant or anything complex)
Will detect check or moves into check.
Non-Featured:
No single player
Doesn't detect checkmate/stalemate.
No skinning support - hard coded to the screen. Might fix this one day when I learn more.
Unfortunately, I had problems with trying to get the pathname within the plugin so it is hard coded to 'c:\program files\devnz\gbpvr\plugins\GBChess'.
Im sure there are bugs in there - If its anything not already noted feel free to comment but be aware this was more of a test than a proper plugin so I don't plan to spend a lot of time on it.