Phase 0 foundation: - Docker Compose with PostgreSQL, Redis, Hardhat node - RPSArena.sol commit-reveal smart contract with tests - Node.js + Socket.io server with matchmaking and match state machine - Next.js + Phaser 3 frontend with Boot, Lobby, Arena, Result scenes - Nginx Proxy Manager integration planned for jeu.cosmolan.fr Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
8 lines
232 B
TypeScript
8 lines
232 B
TypeScript
import { buildModule } from '@nomicfoundation/hardhat-ignition/modules';
|
|
|
|
const RPSArenaModule = buildModule('RPSArenaModule', (m) => {
|
|
const rps = m.contract('RPSArena', []);
|
|
return { rps };
|
|
});
|
|
|
|
export default RPSArenaModule;
|