█████╗ ██████╗ ███████╗███╗ ██╗ █████╗
██╔══██╗██╔══██╗██╔════╝████╗ ██║██╔══██╗
███████║██████╔╝█████╗ ██╔██╗ ██║███████║
██╔══██║██╔══██╗██╔══╝ ██║╚██╗██║██╔══██║
██║ ██║██║ ██║███████╗██║ ╚████║██║ ██║
╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝
Arena Survival
Browser Roguelike with On-Chain Leaderboard on MegaETH
Pay 0.001 ETH to play. Highest score wins the pool.
Browser-based roguelike survival game. Explore procedurally generated dungeons, fight enemies, collect loot. Top scores written to MegaETH (10ms blocks). Daily prize pool distributed to top players.
arena-megaeth/
AGENTS.md
CHANGELOG.md
CLAUDE.md
PROMO.md
README.md
SESSION_NOTES.md
about.html
admin.html
arena-game.html
arena.html
build-neocities.sh
generate-icons.html
guides.html
help.css
help.html
hub.html
index-old.html
index.html
indexextreme.html
leaderboard.html
manifest.json
package-lock.json
package.json
party-game.html
party.html
promo.html
styles.css
sw.js
vite.config.js
assets/
arena.js
config.js
configextreme.js
entities.js
entity.js
icon-192.png
icon-512.png
index.js
item.js
items.js
... (6738 more files)
Roguelike survival game with on-chain leaderboards on MegaETH.
A browser-based survival game where you fight endless waves of monsters. Pay 0.001 ETH to play, and if you get the highest score of the day, you win the entire prize pool.
- Turn-based roguelike gameplay
- 40+ monster types with unique AI
- Loot and equipment system
- Scores recorded permanently on MegaETH
- Daily prize pools (95% of entry fees)
| Key | Action |
|---|---|
| WASD / Arrows | Move |
| E / Enter | Pick up item |
| X / H / Space | Attack |
| C / J | AOE Attack |
| Z | Wait |
| 1-9 | Use skills |
Move into enemies to attack. The game is turn-based—take your time.
- Survive as many waves as possible
- Kill monsters for points
- Collect loot to get stronger
- Top daily score wins the prize pool
- Visit testnet.megaeth.com
- Connect wallet and claim free ETH
Network: MegaETH Testnet
Chain ID: 6343
RPC: https://carrot.megaeth.com/rpc
Symbol: ETH
Explorer: megaeth-testnet.explorer.caldera.xyz
Deployed on MegaETH Testnet (V4):
0x6023678244e0E009B751e418436871dC52378946
// 1. Player pays 0.001 ETH to start
function startGame() external payable;
// 2. After game over, submit score (free)
function submitScore(uint32 score, uint32 wave, uint32 kills, bytes16 name) external;- 95% of entry fees → Daily prize pool
- 5% → Platform fee
- Top scorer at 24h epoch end wins the pool
# Install
npm install
# Dev server
npm run dev
# Build
npm run buildcd contracts
cp .env.example .env
# Add your private key to .env
forge script script/DeployV4.s.sol \
--rpc-url https://carrot.megaeth.com/rpc \
--broadcast \
--gas-price 1000001 \
--gas-limit 150000000- Frontend: React, Vite
- Auth: Privy (email + wallet)
- Blockchain: MegaETH (10ms blocks)
- Contract: Solidity, Foundry
MIT
Built on MegaETH