Web3 Chess

Welcome to Web3 Chess, the decentralized chess platform where you can not only enjoy the timeless game of chess but also earn rewards and collect unique NFTs.

Vision

Our vision is to transform chess into a decentralized ecosystem where players can compete, earn rewards, and connect globally, leveraging blockchain technology for transparency and innovation.

Description

Web3 Chess: Play, Earn, and Collect

Web3 Chess is a decentralized chess platform built on the Theta Testnet. Here, you can stake cryptocurrency, mint NFTs of your matches, earn unique NFT rewards, and participate in a vibrant marketplace—all while enjoying the strategic gameplay of chess.

Introduction

Chess is more than just a game; it's an intellectual challenge enjoyed by millions worldwide. With Web3 Chess, we've taken this classic game to the next level by integrating blockchain technology, allowing players to stake cryptocurrency, mint NFTs of their matches, earn unique NFT rewards, and participate in a vibrant marketplace.

About Theta

Theta is a blockchain platform designed for running smart contract-based applications. It aims to provide a fast and low-cost alternative to Ethereum, making it ideal for decentralized applications like Web3 Chess. Theta is compatible with the Ethereum Virtual Machine (EVM), allowing developers to easily port their Ethereum-based projects to Theta and benefit from its high throughput and low transaction fees.

Contract Addresses and deployment, transactions on Theta Testnet:

NFT Contract Address: 0xffD4D54e3968Ff98B64bdFBa7EEf06984952D75a

Game Contract Address: 0xFEF212aE02a46198eEEb07Da9348f9FA9bbff7AD

Marketplace Contract Address: 0x8C1208A372f8D62BDA9e18bD51165266E45DF0Cc

https://testnet-explorer.thetatoken.org/account/0xffD4D54e3968Ff98B64bdFBa7EEf06984952D75a
https://testnet-explorer.thetatoken.org/account/0xFEF212aE02a46198eEEb07Da9348f9FA9bbff7AD
https://testnet-explorer.thetatoken.org/account/0x8C1208A372f8D62BDA9e18bD51165266E45DF0Cc
image image image

Features

  • Play and Earn: Challenge your friends to a game of chess and stake cryptocurrency for a chance to win it all. Or, play against the computer without any stakes.
  • Chess Match NFTs: Every match you play can be minted as an NFT in the form of a GIF, showcasing all the moves made during the game. These NFTs can be listed on our marketplace for others to collect and trade. Example
  • Earn NFT Rewards: Winners of matches are awarded unique NFTs featuring customizable meme templates, generated using the Canvas API. These NFTs serve as tokens of achievement and can be collected or traded on the marketplace. Example
  • NFT Marketplace: Explore a diverse range of Web3 Chess NFTs on our marketplace powered by the Theta. Buy, sell, and trade NFTs to build your collection or discover unique pieces.
  • Dashboard: Keep track of your balance, NFTs won or bought, and manage your cryptocurrency deposits and withdrawals on our user-friendly dashboard.

Challenges and Solutions

Building Web3 Chess presented its own set of challenges, particularly for a team with limited experience in full-stack dApp development. However, we overcame these challenges by experimenting with various tools and technologies, ultimately migrating to Moralis midway through the project for its powerful features such as live queries, custom React hooks, easy authentication, and seamless integration with the Theta.

Benefits of Using Web3 Chess

  • Decentralization: Web3 Chess leverages blockchain technology to create a decentralized gaming experience, ensuring transparency, security, and immutability.
  • Earn Rewards: By staking cryptocurrency and winning matches, players have the opportunity to earn rewards in the form of cryptocurrency and unique NFTs.
  • NFT Collectibles: Every match played on Web3 Chess can be immortalized as an NFT, allowing players to collect and trade their gameplay experiences.
  • Vibrant Marketplace: The Web3 Chess marketplace provides a platform for users to explore, buy, sell, and trade NFTs, fostering a vibrant community of collectors and enthusiasts.

Get Started

Ready to embark on your Web3 Chess journey? Join our community, stake your crypto, challenge your friends, and collect unique NFTs—all while enjoying the strategic thrill of chess.

Visit Web3 Chess to start playing today!

Screenshot

Screenshot

✨ Features

  • Play and Earn: Stake Crypto to play chess with friends and the winner takes all. You can also play with the computer without any staking crypto.
  • Chess Match NFT: Players can mint an NFT of the match they played in the form of a GIF which would play all the moves made during the match and list this NFT on the marketplace. Example
  • Earn NFT: Winners of the match are awarded an NFT which is a meme template with different text on it (opponent name, the date and time) generated using the Canvas API. Example
  • NFT Marketplace: Users can explore NFTs on the Web3 Chess marketplace and buy and sell their Web3 Chess NFTs leveraging the Theta.
  • Dashboard: Displays the user's balance, all NFTs won/bought by the user in Web3 Chess, and allows for deposit and withdrawal of BNB.

Tech Stack & Tools

  • React
  • Solidity
  • Moralis
  • IPFS
  • Hardhat
  • Tailwind CSS
  • Theta
  • OpenZeppelin
  • chess.js

Inspiration

Web3 Chess aims to revolutionize the classic game of chess by integrating blockchain technology, addressing the growing interest in decentralized applications and digital assets. By combining the strategic depth of chess with the innovative possibilities of blockchain, Web3 Chess seeks to create a platform where players can not only enjoy the game but also earn rewards and collect unique NFTs, fostering a global community of chess enthusiasts.

What It Does

Web3 Chess is a decentralized platform built on the Theta Testnet where players can stake cryptocurrency, mint NFTs of their matches, earn unique NFT rewards, and participate in a vibrant marketplace. It provides a transparent and secure environment for players to compete, earn rewards, and collect digital assets, all while enjoying the timeless game of chess.

How We Built It

Web3 Chess was developed using Next.js for the frontend and GitHub for version control. The platform leverages Gemini Pro for chat and therapy features, Python and Streamlit for personalized health recommendations, and Gemini Pro Vision for image detection. The project integrates Clerk for user authentication, Resend for the contact form, and Rive for interactive elements like the panda and splash screen. The entire application is deployed on Vercel, ensuring a seamless and scalable user experience.

Challenges We Ran Into

Building Web3 Chess presented challenges, particularly for a team with limited experience in full-stack dApp development. We faced issues with the language model not providing intended responses, requiring prompt refinements. Additionally, we encountered latency problems with the LLM processing time, which impacted user experience. To address these, we implemented loading animations and continuous text display features to enhance interaction smoothness.

Accomplishments That We're Proud Of

  1. Successfully integrating blockchain technology with a classic game, creating a unique and engaging platform.
  2. Developing a system for minting chess match NFTs, allowing players to immortalize their gameplay experiences.
  3. Building a vibrant NFT marketplace where users can trade their digital assets.
  4. Implementing a user-friendly dashboard to manage balances, NFTs, and cryptocurrency transactions.
  5. Overcoming technical challenges to provide a seamless and enjoyable user experience.

What We Learned

We gained valuable insights into harnessing the capabilities of language models to address real-world challenges and the importance of prompt engineering for extracting precise information. We also learned the art of seamlessly integrating diverse technologies to create innovative solutions and the significance of UI/UX design in crafting a delightful user experience. Additionally, we explored the benefits of using blockchain technology for creating decentralized applications.

What's Next for Web3 Theta Chess

We plan to enhance the precision of the language model responses to closely mirror human interaction, further improving the user experience. We aim to expand the platform's features by collaborating with open-source contributors to refine and advance the application. Our goal is to create an even more seamless and human-like user experience, fostering a global community of chess enthusiasts who can compete, earn rewards, and collect unique digital assets.

Built With

Share this project:

Updates