473,499 Members | 1,494 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Checkers

6 New Member
Hi everyone I was wondering if anyone knows anything about making a program that lets two humans play checkers?
Nov 20 '06 #1
3 2291
Banfa
9,065 Recognized Expert Moderator Expert
Well you need a data structure to represent the current state of the board

A method for the player to indicate which piece they want to move and where they want to move it to

And a piece of logic to make sure the move is legal
Nov 20 '06 #2
wudoug119
6 New Member
How can I represent the size of the board. Do you mean by the amount of spaces on the board?
Nov 27 '06 #3
Banfa
9,065 Recognized Expert Moderator Expert
How can I represent the size of the board. Do you mean by the amount of spaces on the board?
I didn't say size I said state.

By state of the board I mean which squares are free and which squares contain pieces and including type of piece and the player the piece belongs to.
Nov 28 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1265
by: swint002 | last post by:
Stored procedure that allows you to play checkers in sql query analyzer. http://www.geocities.com/swint002/checkers.txt Let me know what you think. Enjoy.
20
1092
by: koorb | last post by:
I don't know if this will be any use to anyone, but I just posted a small review of all my VB.Net books on my Blog. ...
12
1891
by: Claude | last post by:
Hi, I've designed my own form checking code for name, address, email, comment box etc. What my client keeps getting in his consumer feedback forms is "spam" from companies who repeatedly...
8
2428
by: Steve | last post by:
Hi; I had a big link checking job to do and it has been years since I have done anything like that so I found a test page to use that I knew had bad links on it( a friends site ) and I decided...
0
1348
by: 2Barter.net | last post by:
Thank you Checkers for trying to let the Cat out of the Bag http://www.goenglish.com/GoEnglish_com_1LetTheCatOutOfTheBag.gif 21 feb 2007 --CHECKERS Daytona Beach Florida 24 oct 2006 Thank you...
0
1875
by: 2Barter.net | last post by:
Fwd: A Blessing found for Daytona Beach Florida Hello This is Craig Oral Somerford and I've been using Gmail and thought you might like to try it out. Here's an invitation to create an...
4
20640
by: Hypnotik | last post by:
So I'm writing this program. I have the board constructed, and I'm having a problem making a move. At this point I just want to make a move, I'll work on whether it is a legal move after that. The...
3
1853
by: mskh | last post by:
Hello everyone, Guys i need to know what are the constraints in designing a spell-checker program? for example Word processor ignores acronyms and does not check them. Could anyone think of more...
0
1079
by: przemek | last post by:
Writing a simple checkers game I can't decide: - to implement a pawn as a windows control communicating with the future game engine and paint a passive "wallpaper" board, - to make a board of 64...
0
7130
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7171
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7220
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6893
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7386
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5468
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4599
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3098
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3090
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.