Skip to content

rokonislam1520/genlayer-guess-picture-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

AI Image Guessing Mini-Game for GenLayer

A fun multiplayer mini-game built on GenLayer Intelligent Contracts.

Players see an image and have to guess what it is. The contract uses AI (LLM) to analyze the image and decide if the guess is correct. It also uses Optimistic Democracy consensus for fair scoring.

Game Features

  • Multiplayer support
  • 5-15 minutes playtime
  • On-chain leaderboard with XP tracking
  • Replayable every week with new images
  • Showcases GenLayer's power: natural language, image understanding, and AI validators voting

How to Play

  1. Go to the live demo: https://guess-picture.onrender.com/
  2. Connect your wallet (testnet).
  3. Click "Start New Game" — an image will appear.
  4. Type your guess in the box (e.g., "cat", "car", "mountain").
  5. Submit guess → Intelligent Contract calls AI to verify.
  6. Correct guess = XP points added to leaderboard.
  7. Play multiple rounds and compete with friends!

Contract Address:
0xb438FB85B4F1d5D928d3049AbA1a7EC760ac4D65

GenLayer Studio Import Link:
https://studio.genlayer.com/contracts?import-contract=0xb438FB85B4F1d5D928d3049AbA1a7EC760ac4D65

Tech Used

  • Intelligent Contract written in Python
  • gl.nondet.llm.* for image description and scoring
  • Optimistic Democracy for consensus on subjective answers (humor, creativity, object recognition)
  • On-chain XP and leaderboard storage

This submission is for the Mini-games for GenLayer’s Community mission.

Made with ❤️ for GenLayer community.

About

A multiplayer AI picture guessing game built on GenLayer Intelligent Contracts. Players guess images — the on-chain AI validator decides if you're right. Earn XP on the leaderboard!

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors