- Jackie Zeng - PM, flask routing, db lead, minesweeper, snake
- Wen Yuan Zhang - User Auth, Front-end
- Christopher Louie - Front-end, Block blast
- Raymond Lin - User Auth, Word hunt, Front-end
Our website will be an online gaming site where users can:
- Play games including
- Minesweeper
- Snake
- Word Hunt
- Blockblast
- Wordle
We wiil create an engaging experience that utilizes Flask, a simple user account system with a collection system, and Tailwind for our front end framework.
Prerequisites
Ensure that Git and Python are installed on your machine. It is recommended that you use a virtual machine when running this project to avoid any possible conflicts. For help, refer to the following documentation:
-
Installing Git: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
-
Installing Python: https://www.python.org/downloads/
-
(Optional) Setting up Git with SSH (Ms. Novillo's APCSA Guide): https://novillo-cs.github.io/apcsa/tools/
Cloning the Project
- Create Python virtual environment:
$ python3 -m PATH/TO/venv_name
-
Activate virtual environment
- Linux:
$ . PATH/TO/venv_name/bin/activate - Windows (PowerShell):
> . .\PATH\TO\venv_name\Scripts\activate - Windows (Command Prompt):
>PATH\TO\venv_name\Scripts\activate - macOS:
$ source PATH/TO/venv_name/bin/activate
Notes
-
If successful, command line will display name of virtual environment:
(venv_name) $ -
To close a virtual environment, simply type
$ deactivatein the terminal
- Linux:
-
In terminal, clone the repository to your local machine:
HTTPS METHOD (Recommended)
$ git clone https://github.com/PureJZ/Prize_Picks__jackiez22_wenyuanz_christopherl551_raymondl146.git
SSH METHOD (Requires SSH Key to be set up):
$ git clone git@github.com:PureJZ/Prize_Picks__jackiez22_wenyuanz_christopherl551_raymondl146.git
- Navigate to project directory
$ cd PATH/TO/Prize_Picks__jackiez22_wenyuanz_christopherl551_raymondl146/
- Install dependencies
$ pip install -r requirements.txt
- Navigate to project directory:
$ cd PATH/TO/Prize_Picks__jackiez22_wenyuanz_christopherl551_raymondl146/
- Navigate to 'app' directory
$ cd app/
- Run App
$ python3 __init__.py
- Open the link that appears in the terminal to be brought to the website
- You can visit the link via several methods:
- Control + Clicking on the link
- Typing/Pasting http://127.0.0.1:5000 in any browser
- To close the app, press control + C when in the terminal
- You can visit the link via several methods:
* Running on http://127.0.0.1:5000