Skip to content

twilson63/ao-effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

ao-effect

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.

To create an arena

  1. Install aos and create an aos process with a cron
aos arena --cron 15-seconds
  1. Load up the arena blueprinnt
.load-blueprint arena
  1. load up the ao-effect logic
.load src/ao-effect.lua
  1. create or connect to a token
.load-blueprint token
  1. set token to game
PaymentToken = ao.id

Past Game: 0rVZYFxvfJpO__EfOz0_PUQ3GFE9kEaES0GkUDNXjvE

Current Game: tm1jYBC0F2gTZ0EuUQKq5q_esxITDFkAG6QEpLbpI9I

Create a bot

  1. Install and create an aos process
aos bot1
  1. load the bot lua
.load src/ao-effect-bot.lua
  1. connect to gram
Game = "Game process id"
  1. request tokens
Send({Target = Game, Action = "RequestTokens"})
  1. register
Send({Target = Game, Action = "Register"})

'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages