rchanou / website

Sokoban game and puzzle creator

Home Page:http://ron.chanou.info/sokoban

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sokoban

Yet another implementation of the classic box puzzle game, along with an editor for creating, editing, and saving puzzles. It uses Mobx for state management, and demonstrates some interesting React component patterns, such as for:

  • Declaring key-press/action maps
  • Dynamically calculating keyboard arrow navigation of flex wrap elements
  • Integrating Recaptcha

You can play with the components using yarn add and yarn run cosmos to run the development playground.

It uses serverless AWS services for the back end. Some of the AWS code is in the aws folder for reference.

Of course, the code could be cleaner, but I still think it's worth sharing.

About

Sokoban game and puzzle creator

http://ron.chanou.info/sokoban

License:MIT License


Languages

Language:JavaScript 99.3%Language:CSS 0.5%Language:HTML 0.3%