https://github.com/jAnubhav/TileShift
It is a sliding tile game đŽ where players rearrange tiles đĸ within an nÃn grid âšī¸ to achieve a specific goal, typically in numerical order đĸâĄī¸â
.
https://github.com/jAnubhav/TileShift
grid javascript javascript-framework javascript-game react reactjs
Last synced: about 1 year ago
JSON representation
It is a sliding tile game đŽ where players rearrange tiles đĸ within an nÃn grid âšī¸ to achieve a specific goal, typically in numerical order đĸâĄī¸â .
- Host: GitHub
- URL: https://github.com/jAnubhav/TileShift
- Owner: jAnubhav
- Created: 2025-01-30T04:51:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-07T16:28:50.000Z (over 1 year ago)
- Last Synced: 2025-02-14T10:02:10.327Z (over 1 year ago)
- Topics: grid, javascript, javascript-framework, javascript-game, react, reactjs
- Language: JavaScript
- Homepage:
- Size: 111 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TileShift
TileShift is a React-based puzzle game where players must shift tiles strategically to solve the puzzle. The game features three difficulty levels: Beginner, Intermediate, and Advanced.
## Features đ
- **Multiple Difficulty Levels**: Choose from Beginner, Intermediate, and Advanced modes.
- **Dynamic Grid System**: The game board adapts to the chosen difficulty.
- **Win Detection**: The game detects when a player has successfully solved the puzzle.
## Technologies Used đ
- **ReactJS**: For building the user interface.
- **Context API**: Manages game state across components.
- **CSS**: For styling and animations.
## Installation đĨ
1. Clone the repository:
```bash
git clone https://github.com/yourusername/tileshift.git
cd tileshift
```
2. Install dependencies:
```bash
npm install
```
3. Start the development server:
```bash
npm start
```
## File Structure đ
```php
TileShift/
âââ src/
â âââ components/
â â âââ display/
| | | âââ ChoiceCard.jsx
| | | âââ MenuDisplay.jsx
â â âââ grid/
â â | âââ Cell.jsx
â â | âââ Grid.jsx
| â â âââ GridHolder.jsx
â â âââ win/
| | âââ WinScreen.jsx
â âââ contexts/
â â âââ VisContext.jsx
â â âââ GridContext.jsx
â âââ App.jsx
| âââ index.jsx
âââ index.html
âââ README.md
```
## How to Play đŽ
1. Select a difficulty level from the menu.
2. The grid will generate based on your selection.
3. Shift the tiles to solve the puzzle.
4. Once completed, a win screen will appear.
## Contribution đ¤
1. Fork the repository.
2. Create a new branch:
```bash
git checkout -b feature-branch
```
3. Commit your changes:
```bash
git commit -m "Add new feature"
```
4. Push to your branch:
```bash
git push origin feature-branch
```
5. Submit a Pull Request.
## Credits
Made with â¤ī¸ by [jAnubhav](https://github.com/jAnubhav).