Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacklam718/gini-coding-challenge
Live coding challenge interview
https://github.com/jacklam718/gini-coding-challenge
Last synced: 2 days ago
JSON representation
Live coding challenge interview
- Host: GitHub
- URL: https://github.com/jacklam718/gini-coding-challenge
- Owner: jacklam718
- Created: 2019-05-01T07:06:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-05T10:54:54.000Z (almost 6 years ago)
- Last Synced: 2024-12-28T13:17:27.696Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 123 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gini-rn-fe-challenge
## Challenge Description
Create a Connect 4 game which allows two players to play simultaneously on one device. The game should be able to detect all possible win states. Bonus for candidates who write necessary tests.
This project is initialized using [create-create-native-app](https://github.com/react-community/create-react-native-app), with the addition of Jest being already installed for you. Feel free to install any other necessary dependencies.
## What is Connect 4?
Connect Four (also known as Captain's Mistress, Four Up, Plot Four, Find Four, Four in a Row, Four in a Line, Drop Four, and Gravitrips (in Soviet Union)) is a two-player connection game in which the players first choose a color and then take turns dropping one colored disc from the top into a seven-column, six-row vertically suspended grid. The pieces fall straight down, occupying the lowest available space within the column. The objective of the game is to be the first to form a horizontal, vertical, or diagonal line of four of one's own discs. Connect Four is a solved game. The first player can always win by playing the right moves.
## Getting Started
Install dependencies
```
$ yarn install
```Run in iOS/Android simulator
```
$ yarn run ios# OR
$ yarn run android
```## Live Example
[here](https://codepen.io/finnhvman/pen/xXpzVN)