Author Topic: Checkers [C++]  (Read 4637 times)

0 Members and 7 Guests are viewing this topic.

Offline Super_mario666

  • Knight
  • **
  • Posts: 160
  • Cookies: 7
  • Professional Badass
    • View Profile
Checkers [C++]
« on: 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

 
« Last Edit: December 05, 2012, 07:13:44 am by Super_mario666 »
The Bigger they are...The more likely you'll get your ass kicked

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Checkers [C++]
« Reply #1 on: December 05, 2012, 09:37:02 am »
Any chance to get a compiled version too?

Offline Super_mario666

  • Knight
  • **
  • Posts: 160
  • Cookies: 7
  • Professional Badass
    • View Profile
Re: Checkers [C++]
« Reply #2 on: December 05, 2012, 01:13:05 pm »
The Bigger they are...The more likely you'll get your ass kicked

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Checkers [C++]
« Reply #3 on: December 05, 2012, 04:07:34 pm »
Heh says it's not a valid win32 application :/

Offline Super_mario666

  • Knight
  • **
  • Posts: 160
  • Cookies: 7
  • Professional Badass
    • View Profile
Re: Checkers [C++]
« Reply #4 on: 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
The Bigger they are...The more likely you'll get your ass kicked

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Checkers [C++]
« Reply #5 on: 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?
« Last Edit: December 05, 2012, 07:26:55 pm by Kulverstukas »

Offline Super_mario666

  • Knight
  • **
  • Posts: 160
  • Cookies: 7
  • Professional Badass
    • View Profile
Re: Checkers [C++]
« Reply #6 on: 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.
« Last Edit: December 05, 2012, 07:48:00 pm by Super_mario666 »
The Bigger they are...The more likely you'll get your ass kicked

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Checkers [C++]
« Reply #7 on: 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 ;)