Skip to content

schriker/spacjo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Spacjo Strzelec

Play online

Classic arcade game project to practice React Hooks

Preview

Whole app was build with help of React Hooks API wich was introduced with 16.8.0. Main goal was to build global state based on Context API and useReducer hook. So I can omit Redux and still have similar functionality of flux like state control. You can call useContext, pass StateContext from store.js as an argument and be able to dispatch actions, use store.state in your component.

Controls

  • Left /Right arrow to move
  • Left mouse button to shoot

What I use?

App is build with:

Installation

You can just clone repository files and run to install all dependencies:

npm install

After that just run to start:

npm start

To build project:

npm run build

All project files are located in ./src/ #projects

About

Classic arcade game project to practice React Hooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published