Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 8864d69

Browse files
committed
Fixed typos in WTK
1 parent 63d3c3e commit 8864d69

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/wtk/challenge.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
###############################################################################
2-
Wizards, Thiefs and Knights
2+
Wizards, Thieves and Knights
33
###############################################################################
44

5-
"Wizards, Thiefs and Knights" (WTK) game is a "Paper, Rock and Scissors" clone,
5+
"Wizards, Thieves and Knights" (WTK) game is a "Paper, Rock and Scissors" clone
66
but in a fantasy setting. It comes with a simple command line interface where
77
the use must type in his or her choice. The enemy is controlled by the script.
88
The player's goal is to gain as many score points, as it possible.
@@ -33,14 +33,14 @@ Fight rules
3333

3434
It's simple...
3535

36-
- **Knight** beats **Thief**
37-
- **Thief** beats **Wizard**
3836
- **Wizard** beats **Knight**
37+
- **Thief** beats **Wizard**
38+
- **Knight** beats **Thief**
3939

4040
Attack stage
4141
============
4242

43-
Player selects the choice to attack from **knight**, **thief** or **wizard**,
43+
Player selects the choice to attack from **wizard**, **thief** or **knight**,
4444
enemy selects the choice for defence from the same options by random. If the
4545
attack is successful:
4646

@@ -56,7 +56,7 @@ In case enemy is defeated:
5656
Defence stage
5757
=============
5858

59-
Player selects the choice to defend from **knight**, **thief** or **wizard**,
59+
Player selects the choice to defend from **wizard**, **thief** or **knight**,
6060
enemy selects the choice to attack from the same options by random. If the
6161
attack is successful:
6262

src/wtk/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ def fight(attack: FightChoice, defence: FightChoice) -> FightResult:
203203
204204
The method calculates the fight result based on the game rules:
205205
206-
- **knight** beats **thief**
207-
- **thief** beats **wizard**
208206
- **wizard** beats **knight**
207+
- **thief** beats **wizard**
208+
- **knight** beats **thief**
209209
210210
"""
211211

0 commit comments

Comments
 (0)