Ongoing single page app that renders space friends flying around doing stuff. Typescript, React, canvas state machines, and so many space friends!
- Vite for building
- React Router for navigation
- Excaliber JS for the canvas game rendering
- Fully navigatable by keyboard
- Tested with React Testing Library
- Clicking on the name of a laborer, pirate, shop, etc will take you to their journal.
- wasd (or arrow keys) will move the camera
- zoom slider will zoom (or command + or command -)
Laborers go to work to earn stuff. When they have enough stuff they go home and spend their stuff. When they are out of stuff they go back to work.
Pirates will pick a random laborer and chase and attack them. Pirates will if flee if they get too close to a space shop.
Space shops give stuff to laborers for their time. They are always open (for now!)
Homes take stuff from laborers for their time. They are always cozy.
![Screenshot 2024-03-07 at 9 17 29 AM](https://private-user-images.githubusercontent.com/5114910/310976234-cc8c02ed-2636-4c21-9935-bc25b76e8f4f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMDk5MzIsIm5iZiI6MTcyMTIwOTYzMiwicGF0aCI6Ii81MTE0OTEwLzMxMDk3NjIzNC1jYzhjMDJlZC0yNjM2LTRjMjEtOTkzNS1iYzI1Yjc2ZThmNGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMDk0NzEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDg0MjM4Y2MyNGNmYjkwMDdkMzcxOGVmOTIzMzMzYjk2ZTU3MWE4YjczMzliMjYzMWM0ZjUzNGYwNjM4Nzc5NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.WArKXmsMYUA85DQ7j1yecbjnSJJbSzyrwcMpMBN0BaA)