project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

bitGaming

Play-to-earn gaming platform and NFT marketplace powered by AI, Blockchain and Decentralized storage

bitGaming

Created At

ETHGlobal San Francisco

Project Description

Bitgame-ETH is a blockchain-powered gaming platform that integrates NFTs, decentralized storage, and multiple interactive play-to-earn (P2E) games, including an AI-driven Dungeons & Dragons (DnD) experience, Chimp Test, and Number Memory.

The platform uses:

  • Dynamic.xyz for lightning-fast authentication. Dynamic's widget enables first time users to create new wallet with various accounts including GitHub, emails, e.g. without extra effort. Wallet address is the key for user to enter the world of web3, claim NFTs, and view leaderboard and galleries.

  • Walrus for decentralized object storage. We store NFTs and D&D narration images in Walrus and serve them on our frontend. The blob id returned from Walrus are also stored as a folder-like file to optimize the storage space in our server, and ensures the security and robustness of the data, utilizing the BFT feature of Walrus.

  • OpenAI APIs LLM for AI gaming experience. We use OpenAI's API to create AI chat bot that generate sceneries and images according to user's selection of actions, providing a immersive and innovative experience for users.

  • Morph Holesky Testnet for the smart contract deployments & interactions. Smart contracts manage NFT creation and ownership, with Morph handling the underlying transaction processes, allowing for secure, transparent, and automated interactions.

You may play these games on our platform:

  • AI-Powered DnD Game: The DnD game is driven by AI (OpenAI GPT-4o), enabling players to make decisions, embark on quests, and experience dynamic, unique storylines. AI-generated images are created throughout the game based on player actions.
  • Number memory, Chimpanzee test, Reaction time: These are interactive and brain-stimulating games that user can play to earn credits and claim NFTs.

Other functionalities:

  • Gallery: A gallery page showcases all AI-generated images and NFTs created during gameplay. The gallery is publicly accessible, allowing users to browse through game-related media and engage with the content created by other players.
  • LeaderBoard: A leaderboard displays the top-10 users (wallet address) with the highest earned ERC20 tokens.

How it's Made

Technologies

1.	Walrus Decentralized Storage
•	Stores AI-generated images and NFTs in a decentralized and .
•	All game assets, including images and metadata, are uploaded to Walrus and can be retrieved using blob_ids.
•	Ensures long-term security and accessibility for game history and NFTs without reliance on centralized servers.
2.	Morph Network
•	Enhances cross-network compatibility between decentralized storage, Flow wallets, and AI-generated content.
•	Facilitates NFT interactions across different blockchain networks, allowing wider accessibility and utility of game data.
3.	AI-Based Dungeons & Dragons Game
•	The AI generates dynamic content based on user decisions, creating unique in-game experiences.
•	AI-generated images of game events are turned into NFTs and stored on Walrus.

Backend Technologies

1.	Express.js
•	Manages API endpoints and routes, handling game sessions and user inputs.
•	Interacts with OpenAI to generate story content and responses based on game context.
2.	OpenAI API
•	Provides dynamic, text-based chatbot capabilities for the game.
•	Generates story dialogue and scenery images based on player inputs.
3.	Walrus for NFT and Asset Storage
•	AI-generated images and NFTs are stored on Walrus.
•	A collection of blob_ids is maintained in a JSON file and also uploaded to Walrus for easy access and display on the frontend.

Architecture

•	Frontend: Built with React and Vite, styled using Tailwind CSS, and enhanced by Material UI for user interactions. Displays AI-generated images in a public gallery. Embedded with Dynamic widget for effortless authentication and wallet creation. 
•	Backend: Handles game logic, user interactions, and data storage with Express.js, OpenAI API, and Walrus.
•	Storage and Blockchain: NFTs and game assets are stored on Walrus, and Morph Network ensures cross-network functionality for NFTs.

Notable Features

•	Dynamic Wallet Creation: Simplifies user onboarding by automatically creating Flow wallets.
•	Decentralized Storage: Walrus provides efficient, scalable storage for AI-generated assets.
•	Cross-Network Functionality: Morph Network ensures NFTs are interoperable across multiple blockchain ecosystems.
background image mobile

Join the mailing list

Get the latest news and updates