Skip to content

Cloticc/lexicon-react-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sokoban Game

Sokoban is a classic puzzle game where the player pushes boxes around a maze, trying to put them in designated storage locations. This project is an implementation of Sokoban using React and TypeScript.

Sokoban Screenshot

Features

  • Classic Sokoban gameplay with intuitive controls.
  • Multiple levels of increasing difficulty to challenge players.
  • Undo functionality to revert moves and try again.
  • Responsive design for playability across different devices, including mobile phones.
  • Ability to generate new maps and provide solutions for them.
  • Power-up features to enhance gameplay.
  • Sound and color match the stage for an immersive experience.
  • Highscore and history tracking to keep track of player progress.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js installed on your machine
  • npm package manager
  • Vite installed globally

Installation

  1. Clone the repository:
git clone https://github.com/Cloticc/lexicon-react-game.git
  1. Navigate to the project directory:
cd .\lexicon-react-game\game\
  1. Install dependencies:
npm install
  1. Install dependencies:
npm install

Building for Production

To build the project for production, run:

npm run build

This will create an optimized build of the game in the dist directory.

Collaboration

This is a team project, all parts of the project are developed collaboratively. Phoneix was the name of the group Lexicon React course 2024 (Sweden), where we got the task to make the Sokoban game in React.

Team Members

  1. Fredrik Berglund
  2. Andreas Isidorsson
  3. Abbas Mansoori
  4. Alireza KafshdarToosi
  5. Konstantios (Had to leave early)

Future improvement

Contributing

License