LIVE DEMO LINK: https://nickdiplos.pythonanywhere.com/
- Terminal-based UI -: Play connect 4 using a simple terminal-based terminal
- Interactive UI: Alterntively, play Connect 4 with an easy-to-use web interface.
- Single and Multiplayer Modes: Enjoy the game against the computer or play with a friend.
- Backend: Python 3, Flask
- Frontend: HTML, CSS, JavaScript, Ajax
This is a Connect 4 game designed for Harvard University's CS50!
This game can be played both via the terminal and also via the web.
Terminal: Once ensuring Python instead on your machine, run 'python main.py' in the terminal in the games directory.
Web: Ensure the dependencies in the requirements.txt file are installed. Type 'flask run' in the terminal to run the application.
After accessing the application on your browser, you can:
Start a new game by clicking the 'New Game' button. Choose to play either against another player or against the computer. Make your move by clicking on the column where you want to drop your piece.
Want to learn more about my design and each file? Check out the 'Implementation.md' document
- The scoring is complex and can optimised. I plan to review this at a later day.
- Javascript animations would improve the user experience when playing on the web
- There are issues with sound not playing on certain browsers.