This repository contains a simple implementation of the classic board game Checkers using React Native and TypeScript.
Link: https://checkers-one.vercel.app/
To run the Checkers game on your local machine, follow these steps:
-
Clone the repository: git clone https://github.com/BaileyMcKelway/checkers.git
-
Navigate to the project directory: cd checkers
-
Install the dependencies: npm install
-
Start the development server: npm start
-
Follow the instructions in the terminal to run the app on an iOS or Android simulator/device.
The main components of the project are:
App.tsx
: The entry point of the application, which renders the main game component.CheckerBoard.tsx
: The main game component that handles the game logic and renders the game board.Board.tsx
: A component that represents the game board and renders individual squares.Square.tsx
: A component that represents a single square on the game board and renders the piece (if any) on that square.utils.ts
: A utility file that contains helper functions and constants used throughout the project.
This project is open-source and available under the MIT License.