Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
Name: Workflow_d6ff
Name: Workflow_731e
SchemaVersion: "1.0"

# Optional - Set automatic triggers.
Triggers:
- Type: Push
Branches:
- main
- Type: PULLREQUEST
Branches:
- fork-main
- bugbash*
Events:
- OPEN
- REVISION
- CLOSED

# Required - Define action configurations.
Actions:
Build_ac:
Build_3d:
# Identifies the action. Do not modify this value.
Identifier: aws/build-beta@v1.0.0
Identifier: aws/build@v1.0.0

# Specifies the source and/or artifacts to pass to the action as input.
Inputs:
Expand All @@ -39,3 +40,6 @@ Actions:
- Run: echo "<testsuite tests=\"1\" name=\"TestAgentJunit\" >" >> report.xml
- Run: echo "<testcase classname=\"TestAgentJunit\" name=\"Dummy
Test\"/></testsuite>" >> report.xml
- Run: git clone https://github.com/notowen333/Python-Chess.git .
- Run: cd Python-Chess
- Run: echo pwd
45 changes: 45 additions & 0 deletions .codecatalyst/workflows/Workflow_731e.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Name: Workflow_731e
SchemaVersion: "1.0"

# Optional - Set automatic triggers.
Triggers:
- Type: Push
Branches:
- main
- Type: PULLREQUEST
Branches:
- bugbash*
Events:
- OPEN

# Required - Define action configurations.
Actions:
Build_3d:
# Identifies the action. Do not modify this value.
Identifier: aws/build@v1.0.0

# Specifies the source and/or artifacts to pass to the action as input.
Inputs:
# Optional
Sources:
- WorkflowSource # This specifies that the action requires this Workflow as a source

Outputs:
# Optional; Automatically discover reports for popular test frameworks
AutoDiscoverReports:
Enabled: true
# Use as prefix for the report files
ReportNamePrefix: rpt

# Defines the action's properties.
Configuration:
# Required - Steps are sequential instructions that run shell commands
Steps:
- Run: echo "Hello, World!"
- Run: echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>" >> report.xml
- Run: echo "<testsuite tests=\"1\" name=\"TestAgentJunit\" >" >> report.xml
- Run: echo "<testcase classname=\"TestAgentJunit\" name=\"Dummy
Test\"/></testsuite>" >> report.xml
- Run: git clone https://github.com/notowen333/Python-Chess.git .
- Run: cd Python-Chess
- Run: echo pwd
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python-Chess
Chess built out in python to be played in the terminal.
Chess built out in python to be played in the terminal.

This Chess game uses long-form algebraic chess notation (So you say e2-e4, instead of e4, or you say Kb1xc3 to
say knight takes on c3).
Expand All @@ -16,7 +16,7 @@ Before each move, all possible moves are generated and displayed. This includes

After a move is played, the game checks for stalemates where a player has no available moves and for repitition stalemates by hashing the board and checking if any hash points to a value of 3. Then the game auto-queens any pawns in the their respective final row.

Of course, the game ends with checkmate when a player is in check and has no available moves.
Of course, the game ends with checkmate when a player is in check and has no available moves.

Gameplay Images:

Expand Down