Launching HTML5 Games In The ARK Desktop Wallet
Welcome to the first tutorial in our series of launching an HTML5 game in the ARK Desktop Wallet! This series is aimed at developers of all skill levels. The goal of this series is to be able to convert an HTML5 game to work as a fully functioning plugin within the ARK Desktop Wallet. The first set of tutorials will explain how to interact with the blockchain in a standalone HTML5 environment before finally jumping over into the ARK Desktop Wallet. Written by Delegate Fun/Alessio.
What you'll learn
- How to Import an ARK Wallet Address into your Application
- Creating the Backend for your Plugin
- Making your Game Work with a Betting System
- Implementing Game Logic into your Plugin
- Determining how Prizes Work
- Launching your Game as a Wallet Plugin
#1: How to Import an ARK Wallet Address into your Application
This article will guide you through the fundementals of ARK address validation and the basics of how to import a wallet address. This is a must read before continuing with our other tutorials!
#2: Creating the Backend for your Plugin
We will now begin to create the backend for our plugin. This article will walk you through how to set up a Websocket server and configuring our plugin to generate ARK addresses and to listen to incoming transactions.
#3: Making your Game Work with a Betting System
Games can be more exciting and competitive when there's a wager at stake! Learn how to implement a betting system within your game in this step-by-step guide.
#4: Implementing Game Logic into your Plugin
The most important part of a successful game is solid game logic. Read on as we describe the fundemental rules of Connect 4 and how we integrate them into the logic of our game.
#5: Determining how Prizes Work
We've now successfully built a game, but what about the prizes? Learn how to implement prize logic into your game by following this guide.
#6: Launching your Game as a Wallet Plugin
Congratulations! We're now ready to launch our game as an ARK Desktop Wallet plugin and put our our skills to the test against other players. Learn how within this article.