Skip to content

A simple Snake-Game like game built with HTML5 Canvas, integrated with a Solidity smart contract to reward players with tokens based on their scores.

Notifications You must be signed in to change notification settings

ramykatour/Snake-Game-V1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake-GameV1

A simple Snake-Game-like game built with HTML5 Canvas, integrated with a Solidity smart contract to reward players with tokens based on their scores.

Overview

This project includes a basic implementation of a Snake-Game-like game, with a scoring system and integration with bscscan smart contracts to reward players with tokens. Players can connect their MetaMask wallets, play the game, and submit their scores to receive rewards.

Features

HTML5 Canvas-based Snake-Game game Bscscan smart contract for rewarding tokens based on scores Integration with MetaMask for wallet connection and transactions Real-time score display Getting Started Prerequisites MetaMask browser extension An Bscscan testnet account with some test Tbnb

Installation

Install my-project with npm

git clone https://github.com/ramykatour/Snake-Game-V1.git
cd Snake-GameV1

Project Structure

index.html: The main HTML file that includes the canvas and buttons. game.js: The JavaScript file containing the game logic and Web3 integration. README.md: This file.

License

This project is licensed under the MIT License.

About

A simple Snake-Game like game built with HTML5 Canvas, integrated with a Solidity smart contract to reward players with tokens based on their scores.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published