A simple, lightweight 2D platformer game built with React, TypeScript, and Vite.
This is a lightweight platformer featuring 2 levels. The primary objective of the game is to guide your character to the Skull at the end of the map to proceed to the next level. Along the way, you must carefully avoid dangerous obstacles while collecting coins to rack up the highest score possible.
W A S D and Space to move and jump.To run this project locally on your machine, follow these steps:
Make sure you have Node.js and npm installed on your system.
git clone https://github.com/NikitaPolivanchuk/Platformer.git
cd Platformer
npm install
npm run dev
(This will open the game on a local port, usually http://localhost:5173/)Use these commands to manage the project:
npm run dev – Launches the Vite development server. Use this for active coding.npm run build – Runs the TypeScript compiler (tsc) and builds the optimized production bundle.npm run lint – Scans the codebase for styling and logic errors using ESLint.npm run preview – Serves the production build locally for final testing before deployment.npm run docs – Generates project documentation using TypeDoc.npm run storybook – Starts the Storybook development server on port 6006 for developing and testing UI components in isolation.npm run build-storybook– Builds the static Storybook site for deployment or sharing.This project is distributed under the Apache License 2.0.
This project relies on the following open-source dependencies:
caniuse-lite
The browser compatibility data provided by caniuse-lite is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). The original data source is caniuse.com.
Repository: https://github.com/browserslist/caniuse-lite
lightningcss
This project makes use of Lightning CSS, which is licensed under the Mozilla Public License 2.0 (MPL-2.0). The library is not modified and is obtained separately through the package manager during installation.
Repository: https://github.com/parcel-bundler/lightningcss
axe-core
This project uses axe-core for accessibility testing. Axe-core is licensed under the Mozilla Public License 2.0 (MPL-2.0). The library remains unmodified and is installed as an external dependency.
Repository: https://github.com/dequelabs/axe-core
Author: Nikita Polivanchuk