finaltrade

Final Trade - Prototype

Final Trade is a competitive, blockchain-based game where two species tokens ($3TOED πŸ¦‹ and $MNRCH πŸ¦₯) battle for dominance, with power and success determined by real-time market activity.

This prototype simulates the gameplay experience with a fully functional frontend that allows you to test and visualize the market-driven game mechanics.

Features

Project Structure

final-trade-prototype/
β”œβ”€β”€ README.md
β”œβ”€β”€ package.json
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ index.html
β”‚   └── assets/
β”‚       β”œβ”€β”€ images/
β”‚       └── animations/
└── src/
    β”œβ”€β”€ contexts/
    β”‚   β”œβ”€β”€ Web3Context.js
    β”‚   └── GameContext.js
    β”œβ”€β”€ components/
    β”‚   β”œβ”€β”€ common/
    β”‚   β”œβ”€β”€ battle/
    β”‚   └── market/
    β”œβ”€β”€ hooks/
    β”œβ”€β”€ services/
    β”œβ”€β”€ pages/
    └── styles/

Getting Started

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/yourusername/final-trade-prototype.git
cd final-trade-prototype

  1. Install dependencies
npm install
# or
yarn install

  1. Start the development server
npm start
# or
yarn start

  1. Open your browser and navigate to http://localhost:3000

Using the Prototype

Home Page

The home page displays the two competing species tokens with their presale progress. You can:

Battle Arena

The battle arena shows the real-time state of the competition between the two species tokens. Here you can:

Simulation Controls

For testing purposes, the prototype includes simulation controls that allow you to:

Development Notes

Simulation Mode

The prototype operates in a simulated environment:

Personas/Wallets: Players start with 0 battle tokens, must buy to influence fights. Personas are:

New Recruit: 1-2 ETH, 50-75 $FINAL Buff Chaser: 3-4 ETH, 100-149 $FINAL Market Mover: 5 ETH, 150-200 $FINAL Whale: 10 ETH, 200-300+ $FINAL

Market Data: Game will mask PEPE/DOGE historical data as 3TOED/MNRCH movements

To test the game mechanics:

  1. Start a simulation with the controls at the top of the Battle page
  2. Use the Buy/Sell panel to manually influence the game
  3. Watch how market actions translate to game events in the battle log

Future Implementation

To move from prototype to production:

  1. Implement actual smart contracts for tokens
  2. Connect to a real blockchain network (recommended: Arbitrum)
  3. Replace simulated market data with real on-chain events
  4. Implement staking mechanics and additional game features