project screenshot 1
project screenshot 2
project screenshot 3

MySFGame

A simple, browser-based game where players s navigate through a foggy San Francisco, collecting and trading NFTs

MySFGame

Created At

ETHGlobal San Francisco

Project Description

This is a simple browser-based game that uniquely blends the elements of San Francisco with blockchain technology. Players navigate a stylized, fog-covered San Francisco cityscape as a customizable pixelated cable car, their goal being to collect valuable, city-themed NFTs such as the Golden Gate Bridge, Painted Ladies, and sourdough bread. The game's core mechanic revolves around using "Fog Coins," the in-game cryptocurrency, to disperse the virtual fog and reveal hidden NFTs. As players accumulate these digital assets, they can engage in peer-to-peer trading using smart contracts on the game's simplified blockchain. The gameplay loop is enriched by San Francisco-themed quests, which not only provide players with additional Fog Coins but are also recorded as transactions on the blockchain. A blockchain-based leaderboard adds a competitive element, ranking players based on their NFT collection's value. This game concept not only serves as an entertaining introduction to blockchain technology and NFTs but also captures the essence of San Francisco's tech-forward culture and iconic landmarks in a playful, accessible format.

How it's Made

I've created a basic implementation of the CryptoFog game using HTML, CSS, and JavaScript. This version includes the following features:

A 5x5 grid representing the foggy San Francisco map. Fog Coins that decrease when revealing cells. Random placement of San Francisco-themed NFTs (represented by emojis). A counter for collected NFTs.

This implementation is a simplified version and doesn't include all the features mentioned in the original concept, such as trading NFTs or a full blockchain integration. However, it demonstrates the core gameplay loop and can serve as a starting point for further development.

background image mobile

Join the mailing list

Get the latest news and updates