A game of connect four, written in react-redux
I chose to use existing frameworks to facilitate speed of development.
- Client - React-Redux-Starter-Kit
I chose to use the React-Redux-Starter-Kit to speed up my development time. The starter kit already contains a sophisticated webpack build system already setup with a bunch of useful features, such as hot reloading, SCSS, unit testing, and more.
Setup empty git repoAdd react-redux-starter-kit application for client folderDevelop client app, which contains game logicAdd connect four route and relevant files, and remove default routesAdd logic to determine if game is wonAdd logic to determine if won verticallyAdd logic to determine if won horizontallyAdd logic to determine if won diagonally
Add logic for AI to make movesAdd logic for AI to make defensive moves verticallyAdd logic for AI to make defensive moves horizontallyAdd logic for AI to make defensive moves diagonally
- BONUS
- Bonus 1: Add hard mode
- Add logic for AI to make offensive moves vertically
- Add logic for AI to make offensive moves horizontally
- Add logic for AI to make offensive moves diagonally
- Bonus 2: Persist games to a database
- Develop server app
- Have user able to log in and sign up
- Able to click button to store game to database
- connect client app to server app
- Have user able to log in and sign up
- Develop server app
- Bonus 1: Add hard mode