npm install
pip install -r requirements.txt
pip install -U flask-cors
pip install flask-socketio
pip install Flask
- Run
echo "DANGEROUSLY_DISABLE_HOST_CHECK=true" > .env.development.local
in the project directory
- os
- Flask
- Flask_SocketIO
- Flask_Cors
- Run command in terminal (in your project directory):
python app.py
- Run command in another terminal,
cd
into the directory where you saved the project, and runnpm run start
- Preview web page in browser '/'
- Had problems initially with socketio. Too many people were initially getting emits
- Had problems understanding on socket at first; quickly learned solutions for this though
- There is technically no first player as of right now. Therefore the X player would have to play first
- The button to start a new game isnt lined up in a good position. need to fix css
- I plan on adding a turn so a player can strictly play on their turn
- might be some unused states; need to go back and clean up the code a little
- After clicking the yes button to start a new game the option doesnt go away -- worked fine on aws. need to trackback on that