AmarUstavdic / P2P-Authoritative-Multiplayer-Game-Architecture

This is a work-in-progress project developed as part of a Programming 3 course. This innovative game leverages Kademlia DHT and blockchain technology to deliver a decentralized, turn-based game on a P2P network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChainBattles: Powered by Kademlia DHT and Blockchain - A Decentralized Battleship Game

Welcome to ChainBattles, a decentralized battleship game that leverages the power of Kademlia DHT and blockchain technology. This project aims to develop a SIMPLE turn-based 2-player game that runs on a decentralized P2P network of players. The game incorporates the Wesolowski Verifiable Delay Function (VDF) as the blockchain consensus algorithm to ensure trust and safety in a peer-to-peer multiplayer game architecture.

ChainBattles offers a unique and secure gaming experience where players can engage in battleship warfare on a decentralized network. It utilizes the Kademlia distributed hash table (DHT) protocol for peer-to-peer networking, ensuring a decentralized and resilient gaming environment. The game also incorporates blockchain technology, utilizing the Wesolowski VDF consensus algorithm, to enhance security and provide trust and integrity for battleship moves, player interactions, and game outcomes.

Features

  • Decentralized Networking: ChainBattles utilizes the Kademlia DHT protocol for peer-to-peer networking, ensuring a decentralized and resilient gaming environment.
  • Blockchain Security: The game incorporates blockchain technology with the Wesolowski VDF consensus algorithm to enhance security, providing trust and integrity for battleship moves, player interactions, and game outcomes.
  • Multiplayer Support: Engage in battleship battles other players from around the world, enjoying real-time multiplayer capabilities.
  • Persistent Game State: Your game progress is securely stored on the decentralized network, allowing you to resume battles and track your achievements across sessions.
  • Peer-to-Peer Authoritative Multiplayer Game Architecture: ChainBattles adopts a peer-to-peer model, utilizing the underused resources of players' bandwidth and computing power, aligning with the sharing economy concept. This architecture allows for a cost-effective multiplayer gaming experience.

Usage

About

This is a work-in-progress project developed as part of a Programming 3 course. This innovative game leverages Kademlia DHT and blockchain technology to deliver a decentralized, turn-based game on a P2P network.


Languages

Language:Java 97.9%Language:Shell 1.8%Language:Dockerfile 0.3%