Skip to content

🌎 Full-stack strategy game inspired by Planetarion. Built with T3 stack, Typescript, Prisma, tRPC, mySQL, Tailwind, Next.js, Clerk and more.

License

Notifications You must be signed in to change notification settings

w3bdesign/earthdoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

version React Next.js TypeScript

This game is under active development and may have bugs.

Earthdoom

image

Earthdoom is a full-stack web-based strategy game built using Typescript, Next.js, React, tRPC, Tailwind, Prisma and more.

The database is handled through PostgreSQL and Supabase.

Authentication is handled through Clerk.

Front page is developed with Astro.

The application is designed with a modern, responsive and intuitive user interface.

Technologies used

Table of Contents

Installation

To install the required dependencies, simply run the following command in the project's root directory (/game):

npm install

You now need to retrieve the API keys for Clerk and Supabase and enter them into .env (you need to rename .env.example to .env)

Usage

To start the development server, run the following command:

npm run dev

The application will be available at http://localhost:3000

Scripts

This project includes the following npm scripts for development and building:

  • build: Builds the application for production.
  • dev: Starts the development server.
  • postinstall: Generates Prisma client after installing dependencies.
  • lint: Lints the codebase using ESLint.
  • start: Starts the production server.
  • prisma:generate: Generates the Prisma client.
  • format: Formats the codebase using Prettier.
  • refresh: Removes node_modules, package-lock.json, installs dependencies, and formats the codebase.

Contributing

If you'd like to contribute to the development of Earthdoom Game, please follow these steps:

  1. Fork the repository.
  2. Create a new branch with a descriptive name.
  3. Make your changes and commit them with clear and concise commit messages.
  4. Push your changes to your forked repository.
  5. Open a pull request with a description of the changes you've made.

License

This project is licensed under the MIT License.