Skip to content

Commit

Permalink
Start writing Python code to draw diagrams.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Oct 16, 2023
1 parent b825d9e commit 33aaa3a
Show file tree
Hide file tree
Showing 10 changed files with 332 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .idea/chess-kit.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
svg-turtle = "*"
python-chess = "*"
cairosvg = "*"

[dev-packages]

[requires]
python_version = "3.11"
226 changes: 226 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,9 @@ together.
use, then try to deduce how each of your pieces can capture. (2 players,
chess set, pencils, and paper)

If you're brave, you can read about [experiments] in progress.


[Zombie Chess]: https://donkirkby.github.io/chess-kit/rules.html#zombie-chess
[Masquerade Chess]: https://donkirkby.github.io/chess-kit/rules.html#masquerade-chess
[experiments]: https://donkirkby.github.io/chess-kit/new_rules.html
36 changes: 36 additions & 0 deletions docs/new_rules.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: New Rules for Chess Kit
subtitle: Experiments in Progress
---
### Introduction
These are new games that aren't ready yet. You can try them out and let me
know what you think.

## Table of Contents
* [Cloak and Dagger Chess] is a game where you disguise your chess pieces as
checkers, then try to identify your opponents pieces. (2 players, chess set,
and checkers set)
* [Chess 960] is a game designed by Bobby Fischer to mix up the game opening
by randomly choosing your starting position. (Chess set and deck of cards)

[Cloak and Dagger Chess]: #cloak-and-dagger-chess
[Chess 960]: #chess-960

## Cloak and Dagger Chess
Start with pawns in their regular positions, but replace all other pieces with
numbered checkers. Then write down numbers and positions of other pieces. Pieces
move normally, and you have to deduce which of your opponent's pieces are which,
then capture their king.

At the start of your turn, you may guess the identity of one of your opponent's
cloaked pieces. If you guess correctly, you make two moves in the current turn.
If you guess incorrectly, your turn is over.

At the end of your turn, you may replace any number of your checkers with their
uncloaked chess pieces.

## Chess 960
https://www.mark-weeks.com/cfaa/chess960/c960strt.htm
Deck of cards for spaces and pieces - https://en.wikipedia.org/wiki/Fischer_random_chess#Creating_starting_positions
Castling rules use standard ending locations.

0 comments on commit 33aaa3a

Please sign in to comment.