"The best" CCG by cantorfew
UPDATE 2
I've now put up a web version. There are no new features (actually some features like custom names and saving were removed to make it work) but the code was changed quite a bit to make it work online so this should probably be considered a post-competition version.
Hopefully everyperson can at least try it now.
A collectible card game named "the best".
Requires Python 2.x (may also work in Python 3), downloadable from www.python.org
Download the ZIP, unzip the contents somewhere and run "python menu.py" or alternatively (on Windows) double click on run.bat
You can manually delete the file savegame to delete your save file.
The entire game plays on the command line. There was no time for the planned GUI. So the .zip file is actually 3 times smaller than the screenshot :)
UPDATE 1
I'm looking into putting up a web based server side version this weekend. For the moment, here is an alternative mirror if Fileden goes down:
http://www.filedropper.com/best
(except this one is not a direct link).
And finally here's another attempt to explain what a card does.
By example (from the screenshot):
The card
3-4 1:opp discard
swaps positions 3 and 4. If the current order is BFDEAC (as in the screenshot), it becomes BFDAEC (A and E are swap). After the swap, if position 1 matches the goal (it does not since F isn't B), your opponent discards a card (if it doesn't match as in this case, there is no second effect).
Generally:
The card
a-b x1:effect1 x2:effect2 x3:effect3 ...
swaps positions a and b. After the swap, if position x1 matches the goal, it triggers effect1. After the swap, if position x2 matches the goal, it triggers effect2. And so on.
END OF UPDATE 1
I've now put up a web version. There are no new features (actually some features like custom names and saving were removed to make it work) but the code was changed quite a bit to make it work online so this should probably be considered a post-competition version.
Hopefully everyperson can at least try it now.
A collectible card game named "the best".
Requires Python 2.x (may also work in Python 3), downloadable from www.python.org
Download the ZIP, unzip the contents somewhere and run "python menu.py" or alternatively (on Windows) double click on run.bat
You can manually delete the file savegame to delete your save file.
The entire game plays on the command line. There was no time for the planned GUI. So the .zip file is actually 3 times smaller than the screenshot :)
UPDATE 1
I'm looking into putting up a web based server side version this weekend. For the moment, here is an alternative mirror if Fileden goes down:
http://www.filedropper.com/best
(except this one is not a direct link).
And finally here's another attempt to explain what a card does.
By example (from the screenshot):
The card
3-4 1:opp discard
swaps positions 3 and 4. If the current order is BFDEAC (as in the screenshot), it becomes BFDAEC (A and E are swap). After the swap, if position 1 matches the goal (it does not since F isn't B), your opponent discards a card (if it doesn't match as in this case, there is no second effect).
Generally:
The card
a-b x1:effect1 x2:effect2 x3:effect3 ...
swaps positions a and b. After the swap, if position x1 matches the goal, it triggers effect1. After the swap, if position x2 matches the goal, it triggers effect2. And so on.
END OF UPDATE 1
Ratings
| Coolness | 60% | 3 |
| Overall | 1.85 | 880 |
| Audio | 1.17 | 759 |
| Fun | 1.38 | 893 |
| Graphics | 1.25 | 902 |
| Humor | 1.46 | 767 |
| Innovation | 2.73 | 523 |
| Mood | 1.47 | 858 |
| Theme | 1.15 | 904 |
Also I don't get the relation with "Tiny World"
@angrygeometry: Thanks for trying. If it still doesn't work, could you run "python.exe menu.py" from command line and see what it does (or change the properties of "run.bat" so it doesn't close the window after execution)? I can give you more specific instructions if you are willing to help me test.
Thanks for the game!
Yay for card games!
Susan
On the third match it crashed with this Traceback:
Traceback (most recent call last):
File "menu.py", line 160, in <module>
odeck=[gendoublecard() for i in xrange(DECKSIZE)]
NameError: name 'gendoublecard' is not defined
PS: if you want to join a game competition where everyone uses python so everyone will be able to run your game, consider PyWeek! :)
Also, I believe python can be packed into the deliverable exe, look into that for future projects.
Maybe look into PyGame?
For packaging, it seems that py2exe needs a Windows computer to start with (not impossible, but its hard for me to find one). However, given that it is text-based and I came across this:
http://shell.appspot.com/
I might look into hosting it server side (as a post-competition entry) if its not too difficult. (I might as well attempt to use the lack of a GUI to my advantage. :) )
Alternatively, I might also consider a post-competition PyGame entry. But in that case, I'm pretty sure I'll have problem distributing though.
@artefon: I think you are spot on and some of the confusion about the rules could be cleared up with a GUI. The current visual disconnect is making this game hard to grasp.
@SusanTheCat: That's odd. Maybe Fileden is being unreliable. I've uploaded it elsewhere just in case (the original entry).
@Cosmologicon: Having only swaps (or permutations) was the original design but then I ran into the problem cakemonitor stated above. Basically, you couldn't gain a significant advantage in that case. The secondary effects were added to give you a more permanent advantage.
That's quite some luck for winning in two rounds twice! I guess nobody got to level 3 before. Thanks for reporting the bug (its a function renaming error)!
I've done PyWeek before under a different pseudonym (and really like your work there, by the way). Unfortunately, I can't afford a weekend worth of time anymore, much less a week.
@cakemonitor: Some of the things you can do is to increase your hand size (by drawing), decrease your opponent's hand size (by making them discard) and increasing compromise. Also, originally I intended
@NAMKCOR: You guessed correctly and PyGame is what I intended to use for the GUI. I think even a GUI with no proper graphics would have helped. (Also see my comment about py2exe above.)
There was an error when launching menu.py but didn't had time to read it as it closes directly.
Interesting, though the interface is a bit austere, so it's a little difficult to follow the game, and creating a deck a bit tedious.
I like that you can customize your deck and collect cards!
Overall cool stuff. I think I want to play this with real cards.