https://github.com/ramykatour/snake-game-v1
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.
https://github.com/ramykatour/snake-game-v1
blockchain-technology bscscan game-development smart-contracts snake-game
Last synced: 11 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/ramykatour/snake-game-v1
- Owner: ramykatour
- Created: 2024-07-22T16:39:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-22T21:32:40.000Z (almost 2 years ago)
- Last Synced: 2025-02-16T06:29:02.015Z (over 1 year ago)
- Topics: blockchain-technology, bscscan, game-development, smart-contracts, snake-game
- Language: JavaScript
- Homepage: https://pac-man-v1.vercel.app
- Size: 448 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
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.