Steinadler
a2fcec03f2
renamed tests to tests.txt and did some formatting
3 months ago
Steinadler
463886551b
fixed bug in clean_input.py so that now a card selection has to be 2 chars long
3 months ago
Steinadler
6efc45ec2e
fixed bug in clean_input.py for empty card selection.
print formatting in quartett.py
3 months ago
Steinadler
ef57e98647
added option that chosen_player selection ist only shown when there are more than 1 AI players
3 months ago
Steinadler
40a7be152c
edited some print calls and added so time delays
also code clean up
3 months ago
Steinadler
a70f219824
added doctest file and added end_screen() after the_winner_is()
3 months ago
Steinadler
897f9d8375
minor bug fixes
3 months ago
Steinadler
8277c96938
edited print calls to show "Du" for human player, first addition of time.sleep()
3 months ago
Steinadler
81b1cd3cd8
removed debug prints and added docstrings in quartett.py and clean_input.py
3 months ago
Steinadler
a0474000ba
active in central_function() is now random
3 months ago
Steinadler
7b6851c9de
AI card selection is now complete, edited print statements in pretty_print_deck() and steal(), all_quartets is now working
3 months ago
adamercat
1f80056d2e
clean up, and added comments
3 months ago
adamercat
0c3cd94fc8
implemented the_winner_is() function
3 months ago
Steinadler
8a8dfc92db
added list comrehension in AI branch of round(), AI can now choose a player and a card.
3 months ago
Steinadler
7937adc402
changed active player rotation/selection in central_function(), added AI branch to round(), started to implement all_quartets (a list of all dropped cards)
3 months ago
adamercat
484de50a83
added debugging print calls, round() now uses .pop instead of .remove (bc it didnt work),in steal added card_index otherwise stolen card cannot be found, added pretty_print_deck() function
3 months ago
Steinadler
4484a60f26
modified drop_cards_help()
3 months ago
adamercat
9b628e5917
implemented check if any deck is empty, drop_cards()-function to drop quartets from hand, started the_winner_is()-function that determines the winner in the end.
3 months ago
Steinadler
6c1848c5ba
cleaning in quartett.py
3 months ago
adamercat
b9a2767eeb
implemented active rotation, fixed some assignments, implemented switch in round()
3 months ago
adamercat
e98634d887
Implemented steal()-function and taking a card from card_stack
3 months ago
Steinadler
323f6bce24
added io_card_selection(), define_card_stack()
and added end() and restart() for print statements
in clean_input.py
3 months ago
Steinadler
75ce84e094
added return value for initialize() a second time
and first change to clean_input.py
3 months ago
Steinadler
9549583f28
Merge remote-tracking branch 'origin/master' into master
# Conflicts:
# quartett.py
3 months ago
Steinadler
87e615abe4
added return value for initialize()
3 months ago
adamercat
0b2df69c07
Added TODOs
3 months ago
Polaris
469857aec3
Added TODOs
3 months ago
Steinadler
68d4eada8c
added tab in line 25 in quartett.py
3 months ago
Steinadler
269ee73642
added initialize() in quartett.py
copied whole cryptpad into quartett.py
3 months ago
Steinadler
066207c546
copied clean_input.py
3 months ago
Steinadler
255dfa8d0d
added main module
3 months ago