Questions tagged [checkers-draughts]

A group of strategy board games in which two players perform diagonal moves to capture their opponent's pieces.

Filter by
Sorted by
Tagged with
1 vote
1 answer
29 views

Find coordinates of neighbors out of given coordinates

I'm programming a checkers game in typescript. I'd like to explain some important details to understand how the following code works. In my game coordinates are a string, like "b4". I want ...
user avatar
9 votes
2 answers
810 views

Simple Python3 Checkers

I'm a beginning "pythonist" my current task is to write a checkers game and I need some suggestions here and there: are the code style and literacy answering the criteria of python? are the modules ...
user avatar
  • 91
1 vote
1 answer
903 views

Draw checker board

For an assignment, I had to draw a checkers board, with blue and red checkers, in python. What I have works, but I'm wondering if there's a more elegant and/or efficient way to accomplish this feat? ...
user avatar
  • 9,466
7 votes
2 answers
197 views

Validating user input for the game of draughts/checkers

I'm trying to script a C# game of Draughts/Checkers. I'm at the point of taking user input and validating it. I first check the input of current x and y coords to see they are numbers, then check the ...
user avatar
  • 71
7 votes
1 answer
608 views

Playing Checkers

Continuing with my web-based checkers game, this question is about the actual playing system. I'll ask for a review on my UI system in the next post. First, my BoardController.cs. Note that I have ...
user avatar
10 votes
1 answer
426 views

Checkers Board Creator

A year or so ago, I wrote a checkers game for the Universal Windows Platform. Now, I wrote a web-based version of it hosted at http://checkerstreasury.azurewebsites.net. This is the first of a series ...
user avatar
5 votes
1 answer
3k views

JavaFX Checkers game

I started self teaching myself Java a few months ago. I recently came to the point where I felt it was time to blackout myself from any help or guiding material other than Oracle's docs, so I made a 2 ...
user avatar
  • 51
6 votes
1 answer
1k views

Checkers Board Editor

I created a board editor for my Checkers game. This allows the user to create any board position and copy the FEN string representing that board, which can then be used to create a game from that ...
user avatar
4 votes
1 answer
122 views

Pool Checkers with AI

I recently added Pool Checkers to my Checkers game. My main concerns are about how I manage calling the correct variant in my PublicAPI functions. Because this is ...
user avatar
10 votes
2 answers
681 views

American Checkers with AI

This is the third question in the series. Number 1 had most of the official two-player rules implemented, and Number 2 was the basic UI. This one has the complete two-player rules implemented, an AI ...
user avatar
12 votes
2 answers
653 views

English Draughts

The basic UI for my checkers app is complete, so the next step is to come here for review. I have not built my Facade over my F# game library, so some of the type usages are a little strange; this ...
user avatar
11 votes
1 answer
476 views

American Checkers

I am implementing the logic for a Checkers game in F#. I am writing my code in a library so it can be called from any UI provider, and am trying to do it in good FP style. I currently have the ...
user avatar
10 votes
1 answer
2k views

Python Checkers

This is a program I made to practice using turtle graphics. I am looking for pointers specifically on how I handle the game board. Currently it holds all of the grid objects in a nested list. Sorry if ...
user avatar
5 votes
2 answers
143 views

Checkers moves using union types

How do I refactor common code with different union types? I'm still struggling with refactoring F# code with different types but same behavior. I have the following function that I would like to ...
user avatar
5 votes
2 answers
477 views

3-axis coordinate system for a Chinese Checkers board

About a year ago, my brother and I came up with this cool idea for how to solve the problem of determining if any given "cell" on a Chinese Checkers board was adjacent to the cell in question. ...
user avatar
5 votes
1 answer
146 views

Creating and displaying a checkers board

I am learning clojure this week end and just starting to develop a simple checkers engine. I currently coded some basic functions to create the board and display it. I would love to get some feedback !...
user avatar
  • 53
5 votes
2 answers
12k views

English Checkers game

I've written this English checkers game. Meanwhile, it's a human vs. human game, although it is easily extensible to a game between other players (such as a computer one). ...
user avatar
  • 517
3 votes
1 answer
1k views

Efficiency of Recursive Checkers Legal Move Generator

I'm implementing a checkers engine for a scientific experiment. I found out through profiling that this is one of the functions that takes up a lot of time. I'm not looking for an in-depth analysis, ...
user avatar
  • 131