Gráfico de commits

31 Commits

Autor SHA1 Mensaje Fecha
Steinadler a2fcec03f2 renamed tests to tests.txt and did some formatting 2021-01-15 16:58:57 +01:00
Steinadler 463886551b fixed bug in clean_input.py so that now a card selection has to be 2 chars long 2021-01-15 15:59:54 +01:00
Steinadler 6efc45ec2e fixed bug in clean_input.py for empty card selection.
print formatting in quartett.py
2021-01-15 15:29:12 +01:00
Steinadler ef57e98647 added option that chosen_player selection ist only shown when there are more than 1 AI players 2021-01-15 15:11:27 +01:00
Steinadler 40a7be152c edited some print calls and added so time delays
also code clean up
2021-01-15 15:07:18 +01:00
Steinadler a70f219824 added doctest file and added end_screen() after the_winner_is() 2021-01-15 14:19:30 +01:00
Steinadler 897f9d8375 minor bug fixes 2021-01-14 11:58:47 +01:00
Steinadler 8277c96938 edited print calls to show "Du" for human player, first addition of time.sleep() 2021-01-14 11:15:16 +01:00
Steinadler 81b1cd3cd8 removed debug prints and added docstrings in quartett.py and clean_input.py 2021-01-14 10:07:39 +01:00
Steinadler a0474000ba active in central_function() is now random 2021-01-13 18:36:39 +01:00
Steinadler 7b6851c9de AI card selection is now complete, edited print statements in pretty_print_deck() and steal(), all_quartets is now working 2021-01-13 18:07:36 +01:00
adamercat 1f80056d2e clean up, and added comments 2021-01-13 18:05:05 +01:00
adamercat 0c3cd94fc8 implemented the_winner_is() function 2021-01-13 17:50:01 +01:00
Steinadler 8a8dfc92db added list comrehension in AI branch of round(), AI can now choose a player and a card. 2021-01-13 16:53:07 +01:00
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) 2021-01-13 16:30:10 +01:00
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 2021-01-12 20:35:03 +01:00
Steinadler 4484a60f26 modified drop_cards_help() 2021-01-12 18:16:10 +01:00
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. 2021-01-12 12:06:18 +01:00
Steinadler 6c1848c5ba cleaning in quartett.py 2021-01-12 10:41:48 +01:00
adamercat b9a2767eeb implemented active rotation, fixed some assignments, implemented switch in round() 2021-01-11 18:40:12 +01:00
adamercat e98634d887 Implemented steal()-function and taking a card from card_stack 2021-01-11 18:04:09 +01:00
Steinadler 323f6bce24 added io_card_selection(), define_card_stack()
and added end() and restart() for print statements
in clean_input.py
2021-01-11 18:01:25 +01:00
Steinadler 75ce84e094 added return value for initialize() a second time
and first change to clean_input.py
2021-01-11 17:14:32 +01:00
Steinadler 9549583f28 Merge remote-tracking branch 'origin/master' into master
# Conflicts:
#	quartett.py
2021-01-11 17:12:10 +01:00
Steinadler 87e615abe4 added return value for initialize() 2021-01-11 16:49:05 +01:00
adamercat 0b2df69c07 Added TODOs 2021-01-11 16:28:37 +01:00
Polaris 469857aec3 Added TODOs 2021-01-06 17:12:36 +01:00
Steinadler 68d4eada8c added tab in line 25 in quartett.py 2021-01-06 17:02:34 +01:00
Steinadler 269ee73642 added initialize() in quartett.py
copied whole cryptpad into quartett.py
2021-01-06 16:57:51 +01:00
Steinadler 066207c546 copied clean_input.py 2021-01-04 15:25:28 +01:00
Steinadler 255dfa8d0d added main module 2021-01-04 15:18:27 +01:00