GithubHelp home page GithubHelp logo

sebastianouslis / space-friends Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joshuadoan/space-friends

0.0 0.0 0.0 1.55 MB

Ongoing project that renders space friends flying around doing stuff. Typescript, React, React-Router, ExcaliberJS, and so many space friends!

Home Page: https://pachinspac.com/

License: BSD 2-Clause "Simplified" License

JavaScript 4.19% TypeScript 94.73% CSS 0.24% HTML 0.84%

space-friends's Introduction

Space Friends

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

Controls

  • 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 -)

The Simulation:

Laborers

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

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 Shop

Space shops give stuff to laborers for their time. They are always open (for now!)

Homes

Homes take stuff from laborers for their time. They are always cozy.

Demo

Demo https://pachinspac.com/

Screenshots

Screenshot 2024-03-07 at 9 17 29 AM

space-friends's People

Contributors

joshuadoan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.