Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fc01/TypeGame
πΎ Sokoban Game in Pure TypeScript Type System
https://github.com/fc01/TypeGame
ascii-game compiletime sokoban sokoban-game string-literals template-literal-types type type-gymnastics type-system typescript typescript4 typesystem unicode visual-studio-code vscode
Last synced: 12 days ago
JSON representation
πΎ Sokoban Game in Pure TypeScript Type System
- Host: GitHub
- URL: https://github.com/fc01/TypeGame
- Owner: fc01
- Created: 2021-09-09T08:44:30.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-05T07:28:59.000Z (about 3 years ago)
- Last Synced: 2024-08-02T19:49:04.780Z (3 months ago)
- Topics: ascii-game, compiletime, sokoban, sokoban-game, string-literals, template-literal-types, type, type-gymnastics, type-system, typescript, typescript4, typesystem, unicode, visual-studio-code, vscode
- Language: TypeScript
- Homepage:
- Size: 10.7 KB
- Stars: 276
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# πΎ Sokoban Game in Pure TypeScript Type System
![](https://fc01.github.io/TypeGame.gif)
```ts
import { TypeGame } from './TypeGame'TypeGame
.stage1
['ππππππππ']
['ππππΆοΈππππ']
['ππππππππ']
['πππππππΆοΈπ']
['ππΆοΈπππΎπππ']
['ππππππππ']
['πππππΆοΈπππ']
['ππππππππ']
.s.over
['ππππππππ']
['ππππΆοΈππππ']
['ππππππππ']
['πππππππΆοΈπ']
['ππΆοΈππππππ']
['πππππΎπππ']
['ππππππππ']
['ππππππππ']
.w.a.a.over
['ππππππππ']
['ππππΆοΈππππ']
['ππππππππ']
['πππππππΆοΈπ']
['πππΎπππππ']
['ππππππππ']
['ππππππππ']
['ππππππππ']
.d.w.w.over
['ππππππππ']
['ππππππππ']
['ππππΎππππ']
['πππππππΆοΈπ']
['ππππππππ']
['ππππππππ']
['ππππππππ']
['ππππππππ']
.s.d.d.over
['ππππππππ']
['ππππππππ']
['ππππππππ']
['ππππππΎππ']
['ππππππππ']
['ππππππππ']
['ππππππππ']
['ππππππππ']
.GameClear
.WoW
.MuchFun
```