Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noahtallen/othello-ai

A React implementation of the Othello Game with an AI opponent.
https://github.com/noahtallen/othello-ai

ai othello othello-ai parcel-bundler reactjs typescript

Last synced: about 1 month ago
JSON representation

A React implementation of the Othello Game with an AI opponent.

Awesome Lists containing this project

README

        

## About:
This project is an implementation of the Reversi game with an AI opponent for the AI course at Grove City College. Visit it at [https://gcc-reversi-ai.firebaseapp.com/](https://gcc-reversi-ai.firebaseapp.com/)

## Setup:
- Clone project and run `yarn` (or `npm i`)
- Run `yarn start` (or `npm start`).
- Visit [localhost:1234](http://localhost:1234)

## Tools:
- Using Typescript & React to build the website.
- Using [`styled-components`](https://github.com/styled-components/styled-components) for the styles in app. See `src/index.tsx` for a really basic example of how to use it. It puts all CSS inside a js template string. This means you can use variables from javascript (including props) in order to change styles dynamically.
- For CSS syntax highlighting of styled components, install this VS Code plugin: [`vscode-styled-components`](https://marketplace.visualstudio.com/items?itemName=jpoissonnier.vscode-styled-components).
- Using [`parcel`](https://github.com/parcel-bundler/parcel) as the bundler/dev server. I like it better than webpack because it's 0 configuration & just works out of the box with everything.