ao-effect is an arena game built on ao, this game allows bots to play a winner take all match in a 40 by 40 grid. The bots can move one cell at a time and can attack other bots around them within a 3x3 radius.
- Install aos and create an aos process with a cron
aos arena --cron 15-seconds
- Load up the arena blueprinnt
.load-blueprint arena
- load up the ao-effect logic
.load src/ao-effect.lua
- create or connect to a token
.load-blueprint token
- set token to game
PaymentToken = ao.id
- Install and create an aos process
aos bot1
- load the bot lua
.load src/ao-effect-bot.lua
- connect to gram
Game = "Game process id"
- request tokens
Send({Target = Game, Action = "RequestTokens"})
- register
Send({Target = Game, Action = "Register"})
'