Skip to content

shahryarbhm/superhack-pacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shazam Pacman

Shazam Pacman is a decentralized Pacman game built using React and Solidity. The project integrates Web3 authentication through Web3Auth, and users can interact with the game on the blockchain, tracking their scores and retrieving top users via Blockscout.

Features

  • Pacman Game: Enjoy a Pacman game experience powered by the @platzh1rsch/pacman-canvas package.
  • Web3 Authentication: Users can log in with popular Web3 wallets using Web3Auth.
  • Blockchain Integration: Player scores and enemy positions are stored on the Ethereum blockchain.
  • Leaderboard: Retrieve top users and their scores directly from the blockchain.

Demo

You can play the game and see it in action at pacman.shahryarbhm.com.

Table of Contents

Installation

  1. Clone the Repository

    git clone https://github.com/shahryarbhm/shazam-pacman.git
    cd shazam-pacman
  2. Install Dependencies

Ensure you have Node.js and npm or pnpm installed. Run the following command to install the required dependencies:

pnpm install
  1. Build for Production

To build the project for production, run:

pnpm build

Play the Game

Log in using your Web3 wallet via Web3Auth. Start a new game by pressing the start game button. Play the Pacman game and try to achieve the highest score. Your score will be recorded on the blockchain, and you can check the leaderboard to see how you rank against other players.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published