A purely hobbyist, non-commercial open-source idle game set in the Rick & Morty multiverse. Collect procedural cards, manage your portal slots, and earn Mega Seeds.
- Clone the repository:
git clone https://github.com/DeepVoidGames/Unknown.git cd Unknown - Install dependencies:
npm install
- Start the development server:
npm run dev
To create an optimized production build:
npm run buildThe build process automatically updates the Build Hash displayed in the settings page.
This project is configured to automatically deploy to GitHub Pages via GitHub Actions.
- Push your changes to the
mainbranch. - Go to your repository settings on GitHub.
- Navigate to Settings > Pages.
- Under Build and deployment > Source, select GitHub Actions.
- Your site will be automatically built and deployed at
https://<username>.github.io/<repo-name>/.
This project uses a procedural generation system. You can easily expand the multiverse by adding new characters to the database.
Open src/data/characters.json and add a new object to the array:
{
"name": "Character Name",
"iq": 100,
"status": "Alive",
"species": "Human",
"avatarId": 1
}- name: Display name of the character.
- iq: Intelligence Quotient (1-400), used in Mega Seeds production formula:
floor(iq^1.5 * rarity_multiplier * 0.1). - status: Character status (
"Alive","Dead", or"Unknown"). - species: The species of the character.
- avatarId: The ID used for the character's image.
The project supports three ways to define character avatars:
Use the avatarId field to pull images from the Rick and Morty API.
{ "name": "Rick", "avatarId": 1, ... }Use the customImage field with a full http or https link.
{ "name": "Rick", "customImage": "https://example.com/my-rick.png", ... }Place your images in public/img/ and use the customImage field with the relative path starting from /img/.
{ "name": "Rick", "customImage": "/img/my-rick.png", ... }Note: If both customImage and avatarId are provided, customImage takes precedence.
If you want to modify drop rates or multipliers for card variants (Silver, Gold, etc.), edit src/data/cardTypes.json.
To change costs, card counts, or drop chances for portals, edit src/data/packs.json.
This is a purely hobbyist, fan-made project. All character names, images, and related assets from "Rick and Morty" are the sole property of Adult Swim, Warner Bros. Discovery, and their respective creators. This application is not affiliated with, endorsed, or sponsored by any of these entities.
This project is open-source. Feel free to use it for educational or hobbyist purposes.