You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only playable on one computer.
TUI and GUI are both working and running synchron.
Program
Badge
GitHub-Actions
CoverAlls
TUI commands and example
Command
Description
help / h
prints all commands
exit / q
quits the program
new /
creates a new game
take / +
takes a card
place "i" / - "i"
places card at index "i"
next / n
switches in the next state
undo / z
undos the last command
redo / y
redos the last undo command
Welcome to UNO!typehelpfor all commands
>>> help
all commands for UNO:
- help| h : shows all commands
- exit| q : leaves the game
- new |: creates a new game
- take | + : adds a random card from the stack to the player
- place <index>| - <index>: places the card at <index>
- next | n : goes to the next state
- undo | z : undo the last command
- redo | y : redo, undos the last undo
>>> new
>>> Name1: Bence
>>> Name2: Timo
>>> new
Name1: Bence
Name2: Timo
Bence
+--+
| 7|
+--+
+--+
|G1|
+--+
+--+
| 7|
+--+
Timo
>>> next
Bence
+--+--+--+--+--+--+--+
|R0|R2|B4|Y4|B8|G6|R8|
+--+--+--+--+--+--+--+
+--+
|G1|
+--+
+--+
| 7|
+--+
Timo
>>> place 6
Bence
+--+
| 6|
+--+
+--+
|G6|
+--+
+--+
| 7|
+--+
Timo
>>> undo
Bence
+--+--+--+--+--+--+--+
|R0|R2|B4|Y4|B8|G6|R8|
+--+--+--+--+--+--+--+
+--+
|G1|
+--+
+--+
| 7|
+--+
Timo
>>> take
Bence
+--+--+--+--+--+--+--+--+
|R0|R2|B4|Y4|B8|G6|R8|G7|
+--+--+--+--+--+--+--+--+
+--+
|G1|
+--+
+--+
| 7|
+--+
Timo