EvilZone

Programming and Scripting => C - C++ => : Super_mario666 December 05, 2012, 06:55:44 AM

: Checkers [C++]
: Super_mario666 December 05, 2012, 06:55:44 AM
this is one of my projects that i'm doing for my class and just need some feedback on what i should add to it. this isn't the finish version but i just need to know about some problems in the code or maybe how its presented or whatever i just a second opinion :P .

EDIT: This is a Win32 console project if your having link problems

http://upload.evilzone.org/download.php?id=884179&type=zip (http://upload.evilzone.org/download.php?id=884179&type=zip)

 
: Re: Checkers [C++]
: Kulverstukas December 05, 2012, 09:37:02 AM
Any chance to get a compiled version too?
: Re: Checkers [C++]
: Super_mario666 December 05, 2012, 01:13:05 PM
Done


http://upload.evilzone.org/download.php?id=811236&type=zip
: Re: Checkers [C++]
: Kulverstukas December 05, 2012, 04:07:34 PM
Heh says it's not a valid win32 application :/
: Re: Checkers [C++]
: Super_mario666 December 05, 2012, 06:39:12 PM
Heh says it's not a valid win32 application :/


Oops... well thats the last time i use VS  :o


heres another one


http://upload.evilzone.org/download.php?id=3360742&type=zip
: Re: Checkers [C++]
: Kulverstukas December 05, 2012, 07:25:04 PM
Damn man. You have some logic to work out in there :/
I input 6b and it gets stuck in an infinite loop telling me the piece is not on the board.

edit: and if I input a6, it just crashes :P why don't you test it completely and give us to try it?
: Re: Checkers [C++]
: Super_mario666 December 05, 2012, 07:37:49 PM
Damn man. You have some logic to work out in there :/
I input 6b and it gets stuck in an infinite loop telling me the piece is not on the board.

edit: and if I input a6, it just crashes :P why don't you test it completely and give us to try it?


lolol you're not suppose to use letters :P . both the row and the columns are int values and are suppose to be numbers so yea i work on it and get back to you on that.
: Re: Checkers [C++]
: Kulverstukas December 05, 2012, 08:34:38 PM
AFAIK chess and checkers board use numbers and letters.
As a coder you have to anticipate idiotic uses for the program as well. You cannot expect a user to use your program as-is. Trap the errors.
Anyway, I hope the next version will be much better, if not, I'll be hard on your ass until you make it right ;)