Skip to content

cyril-fl/pokemon-gameplay-react

Repository files navigation

Pokemon Gameplay React

Screenshot of game
Screenshot of game Screenshot of game

Description

Pokémon Gameplay React is a text-based gameplay loop inspired by the Pokémon universe. Create your character, choose your Pokémon, and embark on an adventure in this interactive game. You can start a new game anytime you want. Try to catch every 68 pokémon present in the game.

Key Features

Pokémon Center

  • Revive Pokémon: Restore your Pokémon's health when they're knocked out.
  • View Logs: Check your activity logs.

Team Management

  • Heal: Heal your team.
  • Rename: Change one of your partner's names.
  • Release: Set one of your partners free.
  • Pokédex: Show the Pokédex entry of the monster caught so far.

Adventure

  • Random Battle: Engage in random battles with wild Pokémon : attack, run, heal or try to catch the wild Pokémon in front of you

Potential Future Features

  • Map: An array of objects representing different locations. Moving to the next index requires a travel day.

[ T-Fst ] [ R-1 ] [ R-1 ] [ T-Snd ] [ R-2 ] [ R-2 ] [ R-2 ] [ T-Trd ]

  • Fst: { name: "FirstTown", ... }
  • Snd: { name: "...", ... }
  • Trd: { name: "...", ... }
  • Battle: What could be added to the battle system?

    • PP (Power Points) for each move.
  • Bag: All sort of items could be add ( potion, ball, etc. ).

Technologies

Frontend

  • React.js: A JavaScript library for building user interfaces, particularly single-page applications.
  • TypeScript: A typed superset of JavaScript that helps catch errors early through type-checking.
  • Tailwind CSS: A utility-first CSS framework for quickly building custom designs.

Backend

  • Next.js: A React framework that enables server-side rendering and the creation of static websites.
  • SQLite: A lightweight, serverless, self-contained SQL database engine, perfect for small to medium-sized applications.

Installation

Prerequisites

  • Ensure that SQLite and Node.js are installed on your machine.

Installation Instructions

To install and run the project locally, follow these steps:

  1. Clone the repository to your local machine:

    git clone git@github.com:cyril-fl/pkm_gamplay_react.js.git
  2. Navigate to the project directory:

    cd project
  3. Install the necessary dependencies:

    npm install
  4. Start the application in development mode:

    npm run dev

Contribution & License

  • License: This project is licensed under the MIT License. See the LICENSE file for details.
  • Contribution: No contributions are needed as this project is for educational purposes only.

Disclaimer

Some French may appear in the code, mainly in comments. The frontend is intentionally in French as it is my mother tongue, and this project helps me track my internship applications.

About

Text-based gameplay loop inspired by the Pokémon universe. Create your character, choose your Pokémon, and try to catch every 68 creatures present in the game.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors