Xaya

XAYASHIPS GAME CHANNEL TECH DEMO

XAYA ships is a blockchain version of the classic naval warfare Battleship game.


Battleship has been around since at least the 1930s, but it was in 1967 that Milton Bradley created the plastic board and peg version that most people are familiar with. Its rules are relatively simple but gameplay is relatively quick and perfect to demonstrate the cutting edge Game Channels technology that XAYA allows.

XAYASHIPS RULES

There are many different variations on the rules for Battleship. Xayaships adopts a simple set of rules that are in common use.


When calling a shot, if it’s a hit, the hit is noted but which ship that is hit, isn’t. Also, after a hit, that player gets to fire again. As in all variants, when all ships are sunk on one side, that side oses and the opponent wins.

BLOCKCHAIN CHALLENGES

Blockchain suffers from many drawbacks and the most commonly spoken about is scalability. 


Scalability for blockchain gaming means a few things:


1. Transaction speeds
2. Blockchain bloat|
3. Game complexity


The latter is solved by the unique method of how game states are computed on the Xaya platform.


The first 2 are solved with game channels technology.

UNITY FRONTEND DOWNLOADS

Latest download installer > https://downloads.xaya.io/installerS_0.2.0.exe

 

This installer is for windows and includes an intergrated electrum wallet. Get in discord for some free coins or free account so you can start playing Choose simple mode if you don’t know what you are doing for a “literode” experience.

 

This is still a Tech Demo

Previous releases:

Unity Front End / GUls (updated to 0.1.2 fixes pathing issues on windows). 0.1.3 improves performance

Windows (includes prebuilt backend binaries) >

https://downloads.xaya.lo/xayaships_win_0.1.3.zip

THE CODE

Xayaships is fully open source and is included in the libxayagame GitHub repository here. If you build libxaygame it will build shipsd and the ships-channel executables.


Instructions for building libxaygame for Windows and Linux are here


https://github.com/xaya/xaya_tutorials/wiki/How-to-Compile-libxayagame-in-Windows


https://github.com/xaya/xaya_tutorials/wiki/How-to-Compile-libxayagame-in-Ubuntu


More information can be found here


https://github.com/xaya/libxayagame/tree/master/ships

 

SUPPORT

For developer or user support, visit our Discord channel for developers.

Play Video
Play Video