A randomized card game in all senses of the word. It possesses random rules, random cards, and random pictures.
https://juicyslew.github.io/WayOfTheCard/
https://www.youtube.com/watch?v=d0bYkYRSbRQ&feature=youtu.be
https://drive.google.com/open?id=0BzPupSCM6VOqRWpHd1VodTZyTFk
https://github.com/juicyslew/WayOfTheCard/blob/master/ArchitecturalReview.md
MJ McMillen Github: MJ-McMillen
Nick Sherman Github: NickShermeister
Nate Sampo Github: natesampo
Will Derksen Github: juicyslew
Jeremy Ryan Github: jeremycryan
For this project we are making a randomly generated card game based on card games like Hearthstone and Magic the Gathering. Both the rules and the cards are being randomly generated if the player wants to; otherwise they use a base set of rules.
In the beginning of each game, each player receives a deck of randomly generated cards. These cards are split into two general categories: “dudes” and “dos”. The whole point of the game is to play cards to kill the other player. The “dude” cards called minions can be deployed to attack the other opponent and do cards have some effect on the board. There is a limit to the power of the cards you can deploy each turn. Each player starts with two points called mana. Every turn you get one additional mana to spend on cards. The more destructive cards cost more mana so they can only be played towards the end of the game making the game more interesting.
This structure is based on Hearthstone and Magic The Gathering
A brief outline of everything that you can see on the screen:
- Minions are the “dudes” in our game who can attack other minions or your opponent’s character
- The minion with a shield on it is a “taunt” minion; this minion must be destroyed before the opponent’s hero can be attacked.
We have a User Interface that displays cards with randomly generated pictures on them. There are animations that represent different special effects that act on each card.
Currently, our game actions are run through the command line and the actions appear on the screen.
Required Software: 1. Python 3 2. PIL Image Library 3. pygame 4. Numpy 5. Download Github
- In command line type
sudo pip3 install Pillowsudo apt-get build-dep python-pygamesudo apt-get install python-devsudo pip3 install pygamesudo pip3 install numpy
- Download Github: https://help.ubuntu.com/lts/serverguide/git.html .
sudo apt install git
- Clone repository
git clone https://github.com/juicyslew/WayOfTheCard.git4. find the way of the card folder in your computer 5. In the command line type:python3 Game.py6. Enjoy!
- Sign into Github
- Click the green 'Clone or Download' button in the GitHub repository.
- Click 'Download ZIP'
- Right click on the downloaded zipped folder and click 'Extract All'
- Select an easily accessible location to extract the files to, and confirm the extraction (Remember this location!)
- Install Python 3 by downloading and running the Windows Executable Installer (Under Files in https://www.python.org/downloads/release/python-361/).
- Make sure to check the box that says 'Add Path' in the Installer.
- Open the terminal by clicking on the Windows button in the bottom left corner, typing 'Command Prompt', right clicking on it and hitting 'Run as Administrator'
- If you checked the 'Add Path' box in the installer, 'python' will be your file path. If not, find the location of your Python 3 install and copy the location of 'python.exe'
- Paste this file path into the terminal (should look something like this 'C:\Python36\python.exe'
- Add a space and type '-m pip install Pillow' after the file path. Press Enter
- Repeat steps 7-9, however replace 'Pillow' with 'pygame'
- Repeat step 13 but replace 'pygame' with 'numpy'
- Again repeat steps 7 and 8, and add a space after the Python file path
- Find the location of your WayOfTheCard install and copy the location of 'Game.py'
- Paste this file path into the terminal after your Python file path
- Should look something like this: 'C:\Python36\python.exe C:\Users\Nate\Desktop\WayOfTheCard\Game.py'
- Press Enter to Launch the Game
- Enjoy!
- Run Game.py in the command line from where the repository is saved on your computer.
- Options for Arena mode and Random rule generation will appear; answer according to how you want to play.
- The game will then randomly create names that the players can select. Once both players are done, there will be a short pause as the game generates.
- The Game field will appear in a separate window from where you can play.
- Play through the game to its conclusion. If you wish to end early, press CTRL-C in the command line.
Copyright (c) 2017 Miranda J. McMillen Nichlos C. Sherman Nathan J. Sampo, William N. Derksen, and Jeremy C. Ryan
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.